I just observed something that counters the statement below.

 

I'm trying to get a shape with fill color on the detail band of the report
to show up when a binary value is 1 and be hidden when it is 0.  Using the
AFTER GENERATE I could not get it to work properly.

 

So I went and looked at Razzak's Zebra Style Report in RRBYW14, and observed
that it uses the BEFORE GENERATE.

 

I changed my report to use BEFORE GENERATE and it works exactly as expected.

 

So, to revise my statement:

 

The BEFORE GENERATE eep will evaluate variables in the current band and
allow you to manipulate things before they are "committed to the page."  The
AFTER GENERATE eep does not permit you to impact the display of the current
band.  AFTER GENERATE would be useful for example in conditionally
accumulating totals.

 

Emmitt Dove

Manager, Converting Applications Development

Evergreen Packaging, Inc.

[email protected]

(203) 214-5683 m

(203) 643-8022 o

(203) 643-8086 f

[email protected]

 

From: [email protected] [mailto:[email protected]] On Behalf Of Emmitt Dove
Sent: Tuesday, March 17, 2009 2:02 PM
To: RBASE-L Mailing List
Subject: [RBASE-L] - RE: How to make page-style label visible / invisible

 

My understanding is that the AFTER GENERATE should be impacting the current
iteration of the band, and should be based upon variables/data values in
place at the time of the evaluation, in this case after all the fields and
variables have been evaluated for the band.  The BEFORE GENERATE should also
be impacting the current iteration, based upon variables/data values in
place before the band is evaluated.

 

So the question now becomes "What is the order of band evaluation?"  I
thought the page style was last.  I must be mistaken.

 

Emmitt Dove

Manager, Converting Applications Development

Evergreen Packaging, Inc.

[email protected]

(203) 214-5683 m

(203) 643-8022 o

(203) 643-8086 f

[email protected]

 

From: [email protected] [mailto:[email protected]] On Behalf Of Lawrence
Lustig
Sent: Tuesday, March 17, 2009 1:28 PM
To: RBASE-L Mailing List
Subject: [RBASE-L] - RE: How to make page-style label visible / invisible

 

<< 

It sounds to me like you want to evaluate the visibility in the PAGE STYLE
band AFTER GENERATE.

>> 

 

Thanks, but this produces the same results.

 

If I calculate in AFTER GENERATE, aren't a determing the visibility for the
NEXT time this band renders, rather than the current page?

--

Larry

 

Reply via email to