Mike and Jason

Thanks for your postings - new doors have been opened!

David Blocker


"David Blocker
[email protected]
Office: 781-344-1920
Cell: 339-206-0261"
-----Original Message-----
From: MikeB [mailto:[email protected]]
Sent: Saturday, November 21, 2009 05:44 PM
To: 'RBASE-L Mailing List'
Subject: [RBASE-L] - Re: Page Numbers Different Odd/Even in Reports

David, Just use the logic that Razzak used for Zebra style reports. In the 
Before Generate EEP of the Report define a counter variable:set var vCounter 
integer = 0Then in the Report Footer, in the Before Generate EEP, put the 
following code:IF vcounter = 0 THEN SET VAR vcounter = 1 PROPERTY region1 left 
'0'ELSE SET VAR vcounter = 0 PROPERTY region1 left '6'ENDIFThe reason I used a 
region is because I used it as a container to hold both the PAGE NUMBER system 
variable and the PAGE COUNT system variable and two Labels so I could do: "Page 
n Of c" where n is the page number and c is the count. Also the Property 
command for it, the numbers are in INCHES from the left, not pixels or 
such.Mike----- Original Message ----- From: "David Blocker" To: "RBASE-L 
Mailing List" Sent: Saturday, November 21, 2009 4:11 PMSubject: [RBASE-L] - 
Page Numbers Different Odd/Even in ReportsThishas got to be right up there with 
dumb question of the day.I know you can do all kinds of great thingswith page 
numbering in R:Base reports in 7.6.But I?m trying to do something that seems 
really straightforward to meand can?t see how.The client wants ODDnumber page 
numbers to appear in the lower LEFT corner of the page, and EVENnumber pages to 
appear in the lower RIGHT corner.#PAGE is no longer recognized as a variableso 
my plan of setting up two variables, one that would show ?PAGE? and thenumber 
if #PAGE was even, blank if it was odd, doesn't work.What simple option am I 
missing?David Blocker"David [email protected]: 
781-344-1920Cell: 339-206-0261"

Reply via email to