Information générale
Catégorie:
Gestionnaire de rapports & Rapports
>>Hi all !
>>I use command report to file ascii. I seems to ignore system variable
>>_asciicols.
>>When I set _asciicols = 155 it produce a file with 129 ,
>>when I set _asciicols = 200 it produce a file with 181 columns and in result some characters and digit disapears in the file because there are no place for them in the line.
>>Can anybody had similar experience or can anybody explain such behavior or have anybody workaround for this.
>>Thanks in advance !
>
>I have had similar problems with a very wide (landscape) report. Fields would truncate no matter how large a value I used. A value of about 180 should have been sufficient. I never solved it. For my more normal - sized (portrait) reports, an _ASCIICOLS value of 110 works fine.
I've never managed to produce an ASCII file as I want to with VFP. My problem is usually extra blank lines between rows, it seems the VFP is trying to produce the file laid out as much as possible as the normally printed report would be - which isn't what I want.
With FP 2.5/6 for DOS/Windows, it was possible to generate reports formatted for both DOS & Windows. To get a correctly (i.e. no extra lines etc) from the Windows version, you manually selected the DOS platform version of the report before selecting the ASCII output. Unfortunately, this facility has disappeared with VfP.
I too, would like any information on getting a successful ASCII output file, without need to modifying fonts & system variables.
Sorry I could only report my failure & not be of help.
Paul
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement