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

OnCalc problems

edited August 2001 in General
I have a problem with OnCalc, which I can best explin with a simple example.
suppose I have a group header and wish to print in each header "This is
group 1", "This is group 2" etc.

I use a TppVariable for the "1", "2", etc, with CalcType = veGroupStart, and
CalcComponent = ppGroup1. OnCalc sets value = fMyNumber, and then increments
fMyNumber.

When I preview the form and browse forward and backwards through the report,
the group number continues to increment. What I want is that the OnCalc is
executed ONCE and only once per group.
Is this possible?

regards, Colin

Comments

This discussion has been closed.