Group Footer BeforePrint not realizing 2nd pass
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
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
This discussion has been closed.
Comments
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
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com