` Printed Icetips Article

Icetips Article



Par2: Changing report paper size at runtime
2002-10-03 -- Darron Pitman
 
Hold a global variable for paper type....
All my reports when first setup are configured for A4 by default and set to
mm
once setup edit report properties and set paper size to other and make sure
width and height is set to 0

then in embed after opening report

SETTARGET(REPORT)
IF GLO:Paper = 1 ! Letter
 REPORT{PROP:AT,4} = 211
 ?Page{PROP:AT,4} = 250 ! this is the page form size I use for Letter
 ?Footer{PROP:AT,2} = 256 ! this is my footer detail line use variable set
to ?footer
END
SETTARGET()



Printed November 21, 2024, 6:29 am
This article has been viewed/printed 35215 times.