Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

no calculations on supressed footer? 1

Status
Not open for further replies.

Hueby

MIS
Oct 20, 2004
321
US
Using CR 10...

I have a formula in a GROUP FOOTER #2 that makes some calculations:
Code:
whileprintingrecords;
numbervar sumC := sumC + {@rated};

Based on criteria the FOOTER #2 will either show or be suppressed.

In the Group FOOTER #1 I have this:
Code:
whileprintingrecords;
numbervar sumC;

Now, the calculation shows the total of everything calculated in FOOTER #2, no matter if it was suppressed, or NOT.

Is there a way to only calculate/total was is NOT suppressed?
 
Add in the reverse criteria to the formula as the suppression formula.

Suppression still executes formulas, the only exception is that subreports in suppressed sections won't fire. Would be difficult to accomplish many things if this wasn't the case.

-k
 
Thanks, I wasn't thinkin in that direction, so I'll try that.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top