Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cleaning up FRX file TAG2 fields
Message
De
19/02/2003 11:38:38
Larry Huisingh
Lockheed Martin Information Technology
Richland, Washington, États-Unis
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
FoxPro 2.x
Titre:
Cleaning up FRX file TAG2 fields
Divers
Thread ID:
00754983
Message ID:
00754983
Vues:
54
First, a preface:

I know that in VFP 6 you need to clear out the TAG and TAG2 fields of a FRX file to make sure the reports aren't linked to specific printers. I also know that in VFP 6 you need to leave any ORIENTATION lines (in EXPR I think) if the orientation is not portrait.

Now, my question:

I need to do something similar in FPW 2.5/2.6. I have a landscape report from which I want to remove printer-specific data. If I just clear out TAG and TAG2 the report reverts to portrait. From the research I've been able to do in the newsgroups it seems that byte 45 of the TAG2 field is related to orientation such that asc(substr(TAG2,45,1))=1 for portrait and 2 for landscape. If I clear out TAG and set TAG2 to SPACE(44)+chr(2) I still get a portrait report. Is there something else I need to do?

Is there any writeup on the contents of these fields as they relate to the first record of the FRX file? The info in the FILESPEC folder in VFP6 doesn't really give any helpful info for my problem.
Larry Huisingh
Lockheed Martin Information Technology
Richland WA USA
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform