Many of the ReportBuilder events are called numerous times during report generation. It is simply the way ReportBuilder was designed to work. This is why we only recommend using the TppVariable.OnCalc event to make calculations as this is the only event in ReportBuilder that is guarenteed to only fire once per print, ensuring a correct calculation. If you need to make a calculation in another event, you will need to add some logic to ensure the code is only fired once.
Comments
Many of the ReportBuilder events are called numerous times during report
generation. It is simply the way ReportBuilder was designed to work. This
is why we only recommend using the TppVariable.OnCalc event to make
calculations as this is the only event in ReportBuilder that is guarenteed
to only fire once per print, ensuring a correct calculation. If you need to
make a calculation in another event, you will need to add some logic to
ensure the code is only fired once.
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com