Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Landscape reports
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00065161
Message ID:
00065437
Vues:
33
>>>I need the ability in both VFP and FPW 2.6 to create a report in landscape mode. The problem is that these reports will not always be printed to printer that they were designed on. Any time a different printer driver is used, the "landscape" setting is lost. Is there any way to generically specify a landscape form?
>>>
>>>Paul Moon
>>
>>Paul, open the report as a table (USE MyReport.FRX) then look at the text in the EXPR field, first record. Delete all the information EXCEPT the line
>>
>>ORIENTATION=1
>>
>>Next delete all the information in the TAG and TAG2 fields, and close the file. This will force VFP to use the default Windows printer, but still keep your orientation correct.
>>
>>HTH
>>Barbara
>
>Barbara,
>Thanks. I have a couple more questions. Do I have to repeat this process after every time that I modify the form?
>I have seen a lot of postings that say you can fix a report by making 'such and such a change in the frx file.' Is there any resource out there that explains what is adjustable in the frx's?
>
>Thanks,
>Paul

Paul, you WILL have to repeat this when you modify the FRX, since VFP will put the info back in each time. (Sorry!) You can make a little PRG that opens, cleans and closes the FRX easily - even check for the Orientation line and leave it intact.

I don't know about the FPW reports - I've never programmed in FPW. Someone else will have the answer, I'm sure.

Barbara
Barbara Paltiel, Paltiel Inc.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform