subbarao
12th December 2005, 18:54
Hi,

We need to put create a Baan Report to be printed as ASCIF (file) using TABs as Delimiters. How can we put TAB's in the report. Any help is highly appreciated.

Subbarao

Hitesh Shah
12th December 2005, 19:05
Use these function for the ascii value of the tab . For ascii value used the session ttstpisotable.

subbarao
12th December 2005, 23:03
I tried the ascii value as follows

spool.pr.line = field1&chr$(9)&field1

For some reason the chr$(9) which is expected to put a Tab in the Ascii file, is not doing. Two spaces are created instead.

Thanks in advance.

subbarao
12th December 2005, 23:49
spool.pr.line does not 'print' the TAB.

To print TAB in a file the following syntax worked

define the following in on.choice

fp = seq.open("filename","w")


Then while sending the data to file use

seq.puts(field1&CHR$(09)&field2&chr$(13),fp)



Thanks
Subbarao

Hitesh Shah
13th December 2005, 15:39
This conversion program with argument ASCII does that . Create a new device without this 4GL program . It should work .