Summarizing for TppVariable
Hi,
I want to get the sum of a TppVariable value using TDBCalc. I'd like to set
it as dcSum with appVariable.Value (or something like this) as DataField. is
there anyway to do that ? If not, I'll just use a global variable. But it
would be great to implement this feature. Thank you!
David Caouette
Developer
Omniciel International inc.
I want to get the sum of a TppVariable value using TDBCalc. I'd like to set
it as dcSum with appVariable.Value (or something like this) as DataField. is
there anyway to do that ? If not, I'll just use a global variable. But it
would be great to implement this feature. Thank you!
David Caouette
Developer
Omniciel International inc.
This discussion has been closed.
Comments
The DBCalc component is designed to calculate the sum of a datafield. If
you need to calculate the sum of a TppVariable, you can place another
TppVariable where you would like the sum to appear and simply update its
Value property inside the initial TppVariables OnCalc event.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
It works perfect!
David