Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Insert ASCII in Report (output to File ASCII)
Message
 
 
To
20/12/2000 23:07:51
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00455698
Message ID:
00455751
Views:
29
Hi John,

Thanks for the reply. Yes, I agree, that's easy (especially, it was my first quick idea to work around), but being a purist, I want to investigate other possibilities as well :) Besides, my manager was not 100% happy, when I expressed this idea to him :)

>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.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform