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

Group Footer BeforePrint not realizing 2nd pass

edited February 2006 in General
Greetings,
I have a report that has a BeforePrint event on a group footer. In that
event code, I check :
if (ppReport1.SecondPass) then
.....


The problem is, it is never realizing the SecondPass. SecondPass is always
false. In previous versions of RB with a 2 pass report, at runtime you
would see all reports being generated (the page count happening in the lower
left of status bar in report preview). Now it does not do this.

Thanks,
Kevin

Comments

  • edited February 2006
    Hi Kevin,

    Which version of ReportBuilder are you using? Are you loading a template
    before printing\previewing this report?

    As a test, try placing a breakpoint on the line of code below. It should
    fire once for each group footer initially, then once again each time you
    navigate to a page with a group footer. The second time is the second pass
    and the Report.SecondPass should be true. In my quick testing, this was the
    case.

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

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