Page 1 of 1

Total per page

Posted: Thu Jul 13, 2017 9:54 pm
by muriloruiz
Hello,

I need to show a total per page in my report, the value is calculated through the event before the printout of the detail band and printed in the page footer. In the text field of my footer page I use the function: Processes in = End of the page, the problem is that the report is showing on the first page the value of the first record of the second page, and I need the total only the first page. Can you help me?

Thank you.

Re: Total per page

Posted: Fri Jul 14, 2017 5:06 pm
by Alex K.
Hello,

The PageFooter render in start on the page rendering.
In this case, you can try to set the ProcessAt property to the EndOfPage value for the text component.

Thank you.

Re: Total per page

Posted: Fri Jul 14, 2017 5:36 pm
by muriloruiz
Hello,

According to the above example, my text component already has the function Process in: End of page checked, but it always shows on the first page the first value of the second page.

Re: Total per page

Posted: Mon Jul 17, 2017 9:40 pm
by HighAley
Hello.

Please, move your code form the Before Print event to the After Print.
The Before Print event fires at the beginning of the rendering of the band. But during the rendering report engine understands that there is no enough space for this band.

Thank you.