Home RAP
New Blog Posts: Merging Reports - Part 1 and Part 2

DBCalc variables

edited September 2003 in RAP
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

Comments

  • edited September 2003
    Hi Bill,

    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


This discussion has been closed.