DBCalc/Variable problem
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
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
This discussion has been closed.
Comments
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.
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com