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:15:57
 
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00455698
Message ID:
00455753
Views:
45
Why wouldn't he be happy if it gets the job done and is done so quickly that there's no chance that the "tilded" report will get used accidently? :-)

>
>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.
------------------------------------------------
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