OnCalc problems
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
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
This discussion has been closed.
Comments
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com