Exporting plain text

Lacroix

New Member
Hi,

I'm trying to export records of a table together with plain text to a file, but it keeps on encasing my plain text in quotes. Is there any way to leave them out?

Is it wrong, doing it like this:

OUTPUT TO C:/output.txt
EXPORT
table.column1
" and "
table.column2.
OUTPUT CLOSE.


Thanks in advance.
 
have you tried the "put" statement?

Try ,

def stream streamname.

output stream streamname to c:\filepath\yourfile.txt


for each yourtable:

put stream streamname {unformatted}

field1 or text
field2 or text
...
.
end.
output stream streamname close.
 
Back
Top