Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Back to legacy flat files
Message
 
 
À
15/10/1996 14:56:42
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00010068
Message ID:
00010106
Vues:
41
>>
>>No, Arnon, I should be that lucky. I did it so that I could use the same report form with different ascii files. I need to be able to controll orientation and pitch without user input. I know this is a poor way to do it but I dont know another way.
>>
>>Currently, it goes like this. I have a file MyQue.que its ascii text. I read (appe) to a cursor MyCurse.OnlyField. The report form is pointing at
>>MyCurse.OnlyField (which is a memo field) and then based on text width I change the .frx file to the proper layout. These are financial records and can contain HUGE amounts of data. Normal file is 8-9Meg but some closing reports have been 35Meg! I am looking for a better way to print these files. Cant write a report for each one as this data is comming raw from an outside source. :( :( :(
>
>so u only need the data as a report?

Yes, its all formatted all I need to do is get it to the printer in the right format. (Orientation and pitch) Foxpro doesn't seem to want to let me 'Just do it' I would love to code "Copy This.txt to ThatPrinter Landscape 17 pitch" but I must be overthinking the API. <#$@$%@#$%>

>
>anyway u can use low-level file command like FOPEN etc.
>to read directly from the ascii file and create the reports by code
>(which seems to be not much different that what u do with the report writer)

That is what I do. Fopen, fread etc...

>
> also in the current setup u use - u can delete the original file
>after u have the cursor :)

nope, have to keep it for the spec time. (Varies 1-7 days) :/
~Joe Johnston USA

"If ye love wealth better than liberty, the tranquility of servitude better than the animated contest of freedom, go home from us in peace. We ask not your counsel or arms. Crouch down and lick the hands which feed you. May your chains set lightly upon you, and may posterity forget that ye were our countrymen."
~Samuel Adams

Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform