Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do you set CREATE REPORT to print landscape?
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00698976
Message ID:
00775211
Views:
24
>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform