Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Insert ASCII in Report (output to File ASCII)
Message
De
20/12/2000 23:07:51
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00455698
Message ID:
00455750
Vues:
35
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform