Razzak

Thankyou for posting this sample!! The light bulb finally went on as I figured 
outwhat I was missing.It took a while tofigure out what you were doing, so I 
thought I?d make it explicit for otherswho may want to use the same technique.

Thanks!

Here?s what to do:

1.Locate TWO page numbers on the report in the PageFooter Section:
1.Lower left:Pageset with description
1.Assign it a component id:
1Right click on the object
2Select Component ID
3Type in:OddPages
2.Left Justifity it
2.Lower right: another page set with description
1.Assign it a component id:
1Right click on the object
2Select Component ID
3Type in:EvenPages
2.Right justify it
2.Create a ?Before Generate? Action:
1.Select Reports / Actions / Before Generatefrom the menu
2.Type in:
SET VAR vCounter INTEGER = 1
RETURN

3.Create a ?Before Generate Custom EEP? in the PageFooter Band
1.Point to the gray ?Page Footer? band
2.Right click
3.Select ?BeforeGenerate Custom EEP?
4.Type in this EEP

IF vCounter = 1 THEN
SET VAR vCounter = 0
PROPERTYOddPages VISIBLE 'TRUE'
PROPERTYEvenPages VISIBLE 'FALSE'
ELSE
SET VAR vCounter = 1
PROPERTY OddPages VISIBLE 'FALSE'
PROPERTY EvenPages VISIBLE 'TRUE'
ENDIF
RETURN

Simpleand elegant!

DavidBlocker

"David Blocker
[email protected]
Office: 781-344-1920
Cell: 339-206-0261"
-----Original Message-----
From: A. Razzak Memon [mailto:[email protected]]
Sent: Saturday, November 21, 2009 08:40 PM
To: 'RBASE-L Mailing List'
Subject: [RBASE-L] - Sample Application: Conditional Odd/Even in Reports

Saturday, November 21, 2009To All Users of R:BASE 7.6, Turbo V-8 and R:BASE 
eXtreme 9.0:A sample application, Conditional Odd/Even in Reports, is 
nowavailable.This application will demonstrate the technique to display ODDpage 
numbers in the lower LEFT corner of the report page, andEVEN page numbers in 
the lower RIGHT corner of the report page.Displayed format of page numbers can 
be customized to displayas Page nnn of nnn or Page n.For your viewing pleasure 
...http://www.razzak.com/sampleapplications/OddEvenInReports.pnghttp://www.razzak.com/sampleapplications/OddEvenInReports.pdf--
 Supported Versions: . R:BASE 7.6 (Build: 7.6.8.31111 or higher) . R:BASE Turbo 
V-8 (Build: 8.0.22.31111 or higher) . R:BASE eXtreme 9.0 (Build: 9.0.1.11111 or 
higher)-- Sample Application: Conditional Odd/Even in Reports 
http://www.razzak.com/sampleapplicationsHave fun exploring these techniques and 
PROPERTY commands inR:BASE Reports!Very Best R:egards,Razzak.

Reply via email to