Overflow event
Hello,
I use a Variable to increase each time a Groupstart event happends.
Because of the overflow, the Groupstart event is double--> the Variable to
increase 2 sometime.
So,I want to catch the overflow event somehow to minus 1, then it is
correct again...
Is this possible? If not, could you pls show me some around ways?
Thank you.
PS: Win XP, Delphi7, RB 10.03
I use a Variable to increase each time a Groupstart event happends.
Because of the overflow, the Groupstart event is double--> the Variable to
increase 2 sometime.
So,I want to catch the overflow event somehow to minus 1, then it is
correct again...
Is this possible? If not, could you pls show me some around ways?
Thank you.
PS: Win XP, Delphi7, RB 10.03
This discussion has been closed.
Comments
Instead of using the GroupStart event, try using the TppVariable.OnCalc
event to increment your variable value. Then be sure to set your variable
to calculate on the Group Start.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com