` Changing report paper size at runtime (Darron Pitman ) - Icetips Article
Icetips - Templates, Tools & Utilities for Clarion Developers

Templates, Tools and Utilities
for Clarion Developers

Icetips Article

Back to article list   Search Articles     Add Comment     Printer friendly     Direct link  

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()


Today is November 21, 2024, 3:43 am
This article has been viewed 35215 times.



Back to article list   Search Articles   Add Comment   Printer friendly

Login

User Name:

Password: