Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Define the size of report
Message
From
24/09/2001 17:27:16
 
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00560082
Message ID:
00560259
Views:
14
>>Hello.
>>How I Can to define the paper's size in run time for a report?
>>
>>Thanks.
>
>Open .frx file as a table and change settings in Expr field of the first record:
>PAPERSIZE=< nnn >, where nnn is papersize code or 256 for custom paper size. See help for PRTINFO( ) Function for details.
>For PAPERSIZE=256
>PAPERLENGTH=< lll > in .1mm
>PAPERWIDTH=< www > in .1mm
>
>For WinNT and Win2K see also mskb#Q304639 HOWTO: Find PaperSize for Custom Print Sizes Under Windows NT and Windows 2000 and mskb#Q157172 How to Create Custom Forms in Windows NT 4.0 and Windows 2000

The only caveat to doing this is that you must have exclusive access to the frx. A work around is to copy the frx to a temp folder on the users hard drive and run it from there.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform