Multiline in Print Format text field

For those who ventured too far - just hope they know their way back :)

Moderator: neilg

Multiline in Print Format text field

Postby SergeyV » Mon Jul 04, 2005 4:09 pm

Hi red1 & Co. :-)

Please help me in my problem :roll:

I try to insert long text into my report. In result, text is inserted as a single line. How can i change it into multilined text? What option should i use to transform it into multilined text?

Tnx in advance

P.S. This field is a part of the Print Format (Text) - the same text for all agreements.
Posts: 8
Joined: Tue Aug 31, 2004 6:26 pm
Location: Latvia

Postby red1 » Sat Nov 05, 2005 8:58 am

The PrintFormat shuld allow multilines cos there is a checkbox to say sumtin like 'print single line only'. Perhaps u need to embed carriage return codes inside. Try putting \n to make it go to new line inside your text.
To do that programmitically is tricky cos it means having a routine inside PrintFormat to count the numberof characters vs the width of the print field and automatically insert the \n code. But this is possible by a java programmer.
Site Admin
Posts: 2762
Joined: Tue Jul 06, 2004 3:01 pm
Location: Kuala Lumpur, Malaysia

Return to Strictly Technical

Who is online

Users browsing this forum: No registered users and 3 guests