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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Passing a value to a GroupFooter - Crystal Rpt 8

Status
Not open for further replies.

SGIORDANO

Programmer
Jul 18, 2002
7
MT
I have a formula in the groupfooter which is calculating a percentage.

I am passing the value from a VB Form where I am comparing this value with a formula in the record selection. It is telling me 'THIS FORMULA CANNOT BE USED BECAUSE IT MUST BE EVALUATED AFTER'

I have also tried the GROUP_SELECTION but for no use.

What can I do to solve this problem?

Your help will be appriciated
Steve
 
Please post the formula that you are getting this message on. Software Training and Support for Macola, Crystal Reports and Goldmine
714-348-0964
dgilsdorf@mchsi.com
 
WhilePrintingRecords;

NumberVar intSpendVel;
StringVar StrSpendVel;


If {VIEW_AUTH_SPENDING_VEL_RPT.PERIOD_AMOUNT_LIMIT} <> 0 then (
intSpendVel:= (Sum ({VIEW_AUTH_SPENDING_VEL_RPT.ACCOUNT_AMOUNT_NET}, {VIEW_AUTH_SPENDING_VEL_RPT.CARD_NUMBER})
/{VIEW_AUTH_SPENDING_VEL_RPT.PERIOD_AMOUNT_LIMIT}) * 100;
StrSpendVel := ToText(intSpendVel)+'%';
StrSpendVel)
else
StrSpendVel := 'N/A';

-----
When I try to get the intSpendVel value passed from the Form it will tell me 'THIS FORMULA CANNOT BE USED BECAUSE IT MUST BE EVALUATED AFTER'

Thank You
Steve
 
Is this formula in the details section of your report? If not what section is it in? Software Training and Support for Macola, Crystal Reports and Goldmine
714-348-0964
dgilsdorf@mchsi.com
 
No it is in a Group Footer. That is basically the problem as it something that is calculated after the details have passed the values to it.

Thanks
Steve
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top