Problems with variables as counter

Stimulsoft Ultimate discussion
Post Reply
Togo
Posts: 58
Joined: Wed Jun 19, 2013 4:34 am

Problems with variables as counter

Post by Togo »

Hello

We have a report (sample attached below) that will update the variable (acting as counter) in the BeforePrint event of the Databand and those variables will be printed in the Footer section. When we tested the report, the values for the printed counters are not what we expected, i.e. 0 / 0 on the first page (circled below) when 2 / 1 is expected, and 2 / 1 on the second page when 0 / 0 is expected. Could you please kindly advise us on how to fix this problem?

Thanks
counter.png
counter.png (4.87 KiB) Viewed 1187 times
Sample.zip
Sample report
(10.84 KiB) Downloaded 208 times
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Problems with variables as counter

Post by HighAley »

Hello.

The content of Header and Footer is evaluated at first.
Please, set the Render At property of the Text44 and other text components on the Footer to EndOfPage.

Thank you.
Post Reply