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

DBCalc/Variable problem

edited June 2003 in General
Hi,
I have two DBCalc controls in a summary band performing sums on fields
in the data set and they are working fine.
I also have a variable component that is supposed to calculate the ratio
between the two sums and display the result in percentage format.
In preview mode the variable component always displays 0,
notwithstanding the fact that the two values are non-zero.
I have already made sure that the variable component comes last in the
z-order. What else can be going on?
Many thanks for any replies
Philippe

Comments

  • edited June 2003
    Philippe,

    You will need to sum the datafields using TppVariables only and then use the
    CalcOrder property. The order of the OnCalcs is not dependent on the
    z-order.


    --
    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
This discussion has been closed.