Page 1 of 1

Problems with variables as counter

Posted: Wed Jun 25, 2014 12:53 pm
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 1189 times
Sample.zip
Sample report
(10.84 KiB) Downloaded 209 times

Re: Problems with variables as counter

Posted: Mon Jun 30, 2014 5:44 am
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.