Posted 4 August 2017, 2:56 pm EST
I am relatively new to AR2 and trying to understand how its event mechanism
In my report I have placed a text control, lblPageno, on the page footer with
SummaryFunc = ddSFCount and
SummaryType = ddSMPageCount,
i.e. the control is set each time with the current page number.
Inside ActiveReport_PageEnd() I have placed the following line of code
After executing the report I get:
My reports consists of only 10 (not 11) pages.
I don't understand why the PageEnd event fires twice for page no. 5. Also,
how is it possible that the event keeps on firing, even after the last page
of the report (i.e. page number 10) has been reached.