Hi Nadya,
I would think, with STRTRAN, FILETOSTR, and STRTOFILE that your problem is resolved with just three lines of code after the ASCII report has been generated, assuming you use the tilde.
>Hi everyone,
>
>I'm working on quite complicated report. This Report should contain chr(9) tab at some places. I tried Field1+chr(9)+Field2 as Report expression. It works fine in Report Preview, but it doesn't work in ASCII File. It produces really wird result instead.
>So, my question is:
>Is it possible to insert an ASCII characters in VFP report writer, particulary, CHR(9) (Tab) The program, which works with this output file expects a Tab at some place, then it knows, what to do with it.
>As a work around I can think off, is to create a report with, say, tilda, then ran a special program, which would replace tilda ~ with chr(9). This would work, but I just want to ask you, if it could be done in Report Writer directly?
>
>Thanks a lot in advance.
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05