Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Removing printer information from reports
Message
De
30/03/1999 18:40:14
Jonathan Cochran
Alion Science and Technology
Maryland, États-Unis
 
 
À
30/03/1999 12:36:01
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00203431
Message ID:
00203615
Vues:
15
Thanks for the info.

>>I've seen discussions about removing printer information from report files by clearing the Expr field and/or the Tag/Tag2 fields. Can anyone tell me which fields should be cleared? Also, I presume just the first record in the report should be modified.
>>
>>I've been fighting a "File does not exist" error when printing a couple of reports, and I guess I'm going to try this to see if it helps. The error is intermittent, but seems to keep appearing once it happens, until the executable is exited. After that, the error usually goes away for a while.
>>
>>Thanks,
>>Jonathan
>
>What I've started doing is clearing out TAG and TAG2 in the first record (OBJTYPE=1). As for the expression field, I'll defer to the article in the April 1999 FoxPro Advisor, which recommends keeping only the items common to all printers, i.e. ORIENTATION,PAPERSIZE,SCALE,COPIES=1 and DEFAULTSOURCE.
>
>Also, TAG and TAG2 will be re-populated when the report is run, so you have two options -
>
>1.FLUSH TAG and TAG2 - REPL TAG WITH SPACE(0)),TAG2 WITH SPACE(0) right before the REPORT FORM command,
>2. Flush them once and then mark your FRX and FRT read only.
>
>I use the read only approach.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform