Dennis,

Here's your clue.
Start R:BASE eXtreme 9.1 (Build: 9.1.2.10214 or higher ...)

It will not be in 7.6.

Jan

 


-----Original Message-----
From: Dennis McGrath <[email protected]>
To: [email protected] (RBASE-L Mailing List)
Date: Wed, 8 Dec 2010 16:50:43 -0600
Subject: [RBASE-L] - RE: Reports, conditional newpage


Razzak,

I may be missing something.
This is 7.6
I can't find where to set the componentid for the report footer.
I tried right clicking but the options available do not include the 
componentid.

Thanks,
Dennis


-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of A. Razzak 
Memon
Sent: Wednesday, December 08, 2010 2:41 PM
To: RBASE-L Mailing List
Subject: [RBASE-L] - RE: Reports, conditional newpage

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.

Reply via email to