Par2: Changing report paper size at runtime
2002-10-03 -- Sandro Gasparetto
From: "Gasparetto"
Subject: Re: report page size
Date: Friday, October 04, 2002 7:07 AM
On Fri, 4 Oct 2002 14:20:13 +0200, "Mihai Palade \(Bucharest -
Romania\)" wrote:
>Is there any way to change the size of the report at runtime? I mean I make
>the report then I want to print different papers size (A4,A5,letter)?
Yes, it's easy !
"after Opening Report" , put the following code :
if PRI:Paper = '1' then
report{prop:Landscape} = true
report{prop:width}= 11083
report{prop:height}=6000
report{propprint:paper} = Paper:A4
end
Pri:paper is a field in my application.
Your code will be different....
Printed November 21, 2024, 6:28 am
This article has been viewed/printed 35217 times.