events onCalc of TppVariable and BeforePrint of the ppDetailBand
hello
The events onCalc of TppVariable and BeforePrint of the ppDetailBand should
just be executed once, because he executes all time that the user navigates
for the report, passing makes up for it makes up, and when he spends two
time in the same it makes up him turn executes it those events, with that
he/she does with that my routine of I calculate found in those events they
duplicate its correct value...
What should make?
Thank you very much.
The events onCalc of TppVariable and BeforePrint of the ppDetailBand should
just be executed once, because he executes all time that the user navigates
for the report, passing makes up for it makes up, and when he spends two
time in the same it makes up him turn executes it those events, with that
he/she does with that my routine of I calculate found in those events they
duplicate its correct value...
What should make?
Thank you very much.
This discussion has been closed.
Comments
other event or Delphi variable to store values. Otherwise, the pages are
regenerated as they are requested, firing the event handlers again. One
solution is to set Report.CachePages to true so that the pages aren't
regenerated.
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com