Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Printing report to ASCII text files
Message
De
07/11/1999 11:33:03
 
 
À
07/11/1999 11:23:59
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00288213
Message ID:
00288216
Vues:
17
>When I issue report command-
>
>report form myreportname noconsole to file mytextfile.txt ASCII
>
>there is an empty line in the text file between every two lines in the report. Can I supress that in any way?

You may be running into a character wrap problem (the output line is too long, the printer wraps the line, and then VFP sends an end-of-line (CR/LF pair), your detail area, which was set up in Windows, may be getting intepreted as double spaced ASCII (it'd send a pair of CR/LFs after each detail line) or the printer may be set up to respond to do a line feed in response to both a CR (chr(13) and an LF (chr(10)) - you'll need to look at the output with a text file editor with word wrap turned off at a minimum, and may need to kludge with the output file or report format to fix it, depending on what you find.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform