Problem with Pipeline.OnRecordChange ...
ok, this is a strange problem ....
I'm using D6 + RB6.03 + MySQL + MyODBC ....
I have a table with 4 records and I need to do a complex calculation
with some of their values so, I put my formulas in
Pipeline.OnRecordChange, but my calculation always went wrong!!!!
While debbuging I noted that, having only 4 records, the event
OnRecordChange fired several more times!!!! so, my calculation always
failed !!!
Any help will be very appreciated
Thanks in advance
Luis Ximénez
I'm using D6 + RB6.03 + MySQL + MyODBC ....
I have a table with 4 records and I need to do a complex calculation
with some of their values so, I put my formulas in
Pipeline.OnRecordChange, but my calculation always went wrong!!!!
While debbuging I noted that, having only 4 records, the event
OnRecordChange fired several more times!!!! so, my calculation always
failed !!!
Any help will be very appreciated
Thanks in advance
Luis Ximénez
This discussion has been closed.
Comments
forwards and backwards as the report generates. You can either place a
check in the calculation code to only calculate when the records position
increases, or use a TppVariable and use its OnCalc evnet. This event is
guaranteed to fire only once per record by default.
--
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com