Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

summary band OnBeforeGeneate fired twice

edited May 2004 in General
Hi,

why is summary band's OnBeforeGenerate called twice?

Comments

  • edited May 2004
    Hi Pavel,

    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.

    --
    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
This discussion has been closed.