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

reset a count variable

edited August 2004 in General
Hello

I would like to reset a count variable (count(card_key)) when a DBText
(area) changes.
Could you help me?
Thanks
Regards
R?gine Lebreton

Comments

  • edited August 2004
    Hi Regine,

    There are a couple ways you could go about this. Try creating a group
    around the "Area" field and setting the DBCalc.ResetGroup to that group. If
    you leave the group header and footer at the minimum vertical size, you
    should not see any difference in your report output.

    Another way would be to use a TppVariable and calculate the count manually
    based on the traversal while also keeping track of the Area field and
    reseting the variable accordingly.

    --
    Best Regards,

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