morpheus
9th October 2002, 10:07
Hello,
I need to print the PO text in the report. But, there are many lines in the text. I have selected the text from tttxt010, but, how do I print the complete text, in different lines!?

OmeLuuk
9th October 2002, 10:12
I think there are standard functions to retrieve texts from the text tables... try to compile a text-printing report in debug mode and investigate the script (enter the command vi in the debugger, to edit the script).

manusatsangi
9th October 2002, 10:28
Hi,
You do not have to specify all the lines of text to be printed. Just include the text field (say tdpur040.txta "Header Text of PO") in the report and all the lines would automatically be printed in the report.
But there is a slight problem here, if the text is multi-line, it would block all otehr lines to be printed till all the lines of this text gets printed.
If you want specifically to print the text in say 50 col wide length, then query table tttxt010 where tttxt010.ctxt = tdpur040.txta and get the text tttxt010.text. Break it up and print.

Warm Regards
Manu