At 03:01 PM 12/8/2010, Dennis McGrath wrote:
Another way of stating my goal is:
I wish to print just the report footer when desired, a summary page.
Syntax:
PROPERTY <ReportBandComponentID> <SpecificBandProperty> 'value'
Here's how:
01. Start R:BASE eXtreme 9.1 (Build: 9.1.2.10214 or higher ...)
02. CONNECT dbname IDENTIFIED BY owner password
03. REPORT reportname
04. While in Report Designer ...
Right-click on Report Footer Band
Select "Component ID" and then type "ReportFooterBand"
05. Use the following syntax as "Before Generate ..." action.
Main Menu | Report | Actions | Before Generate ...
-- Report Footer Band as a new page
PROPERTY ReportFooterBand NewPage 'TRUE'
RETURN
06. You could also use the same code a dynamic value, such as:
-- Report Footer Band as a separate page
IF (CHKVAR('vValue')) <> 1 THEN
PROPERTY ReportFooterBand NewPage 'FALSE'
ELSE
PROPERTY ReportFooterBand NewPage .vValue
ENDIF
RETURN
WHERE vValue is pre-defined as a global variable, prior
to PRINTing such report.
If 'TRUE', the Report Footer Band will be printed as NewPage.
That's all there is to it!
Have fun taking advantage of all coooooooool developer's tools
in R:BASE eXtreme 9.1 (32/64).
Very Best R:egards,
Razzak.