Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Insert ASCII in Report (output to File ASCII)
Message
From
20/12/2000 23:07:51
 
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00455698
Message ID:
00455750
Views:
32
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform