Sai_krishna
15th December 2005, 15:46
Hi,

We need to print a report to a file. Each line in the report should have a fixed length of 160 characters. However my last field in each row ends at 155 characters.

When I print the report to file (.txt), the last character appears at 155. I have tried increasing the field length of the last field and to insert a field with no values etc., Still the last character appears at 155.

How do I ensure that the line extends till 160 characters ??

Thanks in advance
Sai Krishna

mark_h
15th December 2005, 16:03
Check this thread (http://www.baanboard.com/baanboard/showthread.php?t=1556&highlight=fixed+length+file) out. Several recommendations there.

centrino81
15th December 2005, 19:05
Hi Say

Your idea is a good solution, but remember put in the layout the field with "ZZZZZ" in that way is you don't fill the field with some value, the field will be automatic fill with blank spaces.

Regards,