>>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.