DBCalc variables
I have a report that uses the TppDBCalc sum(dbffield) calculation for two
different fields in the groupfooter.
In the group footer I wwant to use a TppVariable to display
the difference of these calculations.
How can I do this?
Is there an example?
(using Enterprise Version 7.020
Thank You
--
Thank you,
Bill Krause
Find Guitar Strings Online At
http://www.stringsdirect.com
different fields in the groupfooter.
In the group footer I wwant to use a TppVariable to display
the difference of these calculations.
How can I do this?
Is there an example?
(using Enterprise Version 7.020
Thank You
--
Thank you,
Bill Krause
Find Guitar Strings Online At
http://www.stringsdirect.com
This discussion has been closed.
Comments
The problem is the order the calculations are fired. This can be controlled
on variables using their CalcOrder property. The dbCalc does not have this.
There is no guarantee that the dbCalcs are going to calculate first. You'll
have to code the dbCalc calculations using new variables and then use the
CalcOrder properties to ensure that one variable will be calculated before
the other variables n order for them to use its value in their own
calculations. The CalcOrder of zero (0) is first and the CalcOrder is only
applicable to variables in a single band.
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com