I have a DBCalc (dcSum) in my report summary band. On some conditions, the DBCalc.DataField is not visible. Is it possible to exclude the invisible fields from the calculation.
I'm a bit unclear about what you mean by the DBCalc.DataField being invisible. Are you referring to a DBText located in the detail band? By definition, a DBCalc component will calculate the sum of the entire dataset traversed to that point and display the value. If you would like to customize how this calculation is made, I suggest using a TppVariable component and its OnCalc event.
Comments
I'm a bit unclear about what you mean by the DBCalc.DataField being
invisible. Are you referring to a DBText located in the detail band? By
definition, a DBCalc component will calculate the sum of the entire dataset
traversed to that point and display the value. If you would like to
customize how this calculation is made, I suggest using a TppVariable
component and its OnCalc event.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Hi Nico,
Indeed I meant a dbtext. I'll try with a TppVariable
Arno