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

Summarizing for TppVariable

edited December 2004 in General
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.

Comments

  • edited December 2004
    Hi David,

    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

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited December 2004
    Thanks, Nico!

    It works perfect!

    David

This discussion has been closed.