Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do you set CREATE REPORT to print landscape?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00698976
Message ID:
00775211
Vues:
22
>>How do you set CREATE REPORT (Quick Report) to print landscape?
>>Some of my reports do not fit into a potrait mode.
>>
>>SELECT field1,field2,field3,field4,field5,field6,field7,field8,field9 FROM xtable INTO CURSOR xTemp
>>CREATE REPORT xReport FROM xTemp width 150
>>REPORT FORM xReport PREVIEW
>>
>>The above will chop off what it cannot fit into potrait mode.
>>Can anybody help?
>>Thank you all!
>
>You can change orientation on the fly, if appropriate.
>
>SELECT field1,field2,field3,field4,field5,field6,field7,field8,field9 FROM xtable INTO CURSOR xTemp
>CREATE REPORT xReport FROM xTemp width 150
>
>use xreport.frx in 0
>replace xreport.expr with strtran(xreport.expr, "ORIENTATION=0", "ORIENTATION=1") IN xreport && To landscape
>USE in xreport
>
>REPORT FORM xReport PREVIEW
>
Do you know a way to set printer into Landscape mode without using report at all? E.g. programmatically? Any API or other trick to do the job?

Thanks in advance.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform