deepaksachdeva
14th July 2005, 15:38
hi,

i want to print the text field i.e. Item description in multi line instead of one single line.

example

RES CF 1.00 OHM
1/4W 5%

instead of printing "RES CF 1.00 OHM 1/4W 5%"

please help me out.

Regards & Thanks in Advance

Deepak

mark_h
14th July 2005, 16:12
A quick search on this forum on text.to.buf (http://www.baanboard.com/baanboard/showthread.php?t=12965&highlight=text.to.buf) will yield other results than just this link. You can use text.to.buf to put the text into a string array and then manipulate it how ever you see fit. Then just print string results into your report.

bdittmar
14th July 2005, 16:57
hi,

i want to print the text field i.e. Item description in multi line instead of one single line.

example

RES CF 1.00 OHM
1/4W 5%

instead of printing "RES CF 1.00 OHM 1/4W 5%"

please help me out.

Regards & Thanks in Advance

Deepak

is it tiitm001.txta or tiitm001.dsca (text or item description)
for field dsca you can define 2 variables dsca.a and dsca.b
dsca.a is filled with tiitm001.dsca(1,15) character 1 to 15
dsca.b is filled with tiitm001.dsca(17,7) character 17 to 24
this works when description is the same manner for all items.

Regards

deepaksachdeva
15th July 2005, 07:05
Dear Bernd

your suggession is ok, we are already using this, but i want to print the tiitm001.dsca as the tiitm001.txta is printing on multi line.

i hope u can sort out the problem