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

help with ppdbCalc

edited August 2005 in General
Hi everybody...

My report must calculate the difference between two totals, (dbCalc1 and
dbCalc2 components)
each time a group ends.
I have put a variable component to make de calc ( on the onCalc event ) but
with no result.
Some example will be appreciated

Regards
Fita

Comments

  • edited August 2005
    Hi Fita,

    The DBCalc components were not designed to be used in separate calculations
    on a report. I would recommend strictly using TppVariables for this. For
    instance...

    1. Place a TppVariable inside your detail band with the visibility set the
    False.
    2. Inside its OnCalc event update three other TppVariables inside the group
    footer (i.e. one for the first sum, one for the second sum, and one for the
    addition of both sums).
    3. Set all three TppVariables in the group footer to reset on group end.

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

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