Last Page

Stimulsoft Reports.NET discussion
Post Reply
EDV Gradl
Posts: 228
Joined: Sat Jun 17, 2006 9:50 am
Location: Germany

Last Page

Post by EDV Gradl »

With this.PageNumber I get the current page? How dow I know if the last page is rendered?

Thanks!
Vital
Posts: 1278
Joined: Fri Jun 09, 2006 4:04 am

Last Page

Post by Vital »

StimulReport render report in one pass. Count of the pages will be known only after that as whole report will is render.
So you can't detect last page. But you can use special methodics to solve this problem. Can you describe what you need do?
We will provide solution for you.

Thank you.
EDV Gradl
Posts: 228
Joined: Sat Jun 17, 2006 9:50 am
Location: Germany

Last Page

Post by EDV Gradl »

I have a data band and a footer band with Print on all pages = true. If all data in the data band has been printed, I would like to print something different in the footer band as on the previous pages. But somehow the footer is calculated before the data, so the variable I use does not work.

Thanks
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

Last Page

Post by Edward »

EDV wrote:I have a data band and a footer band with Print on all pages = true. If all data in the data band has been printed, I would like to print something different in the footer band as on the previous pages. But somehow the footer is calculated before the data, so the variable I use does not work.

Thanks
Please try the PrintOn property of StiText and other simple report's components.
If it property does not helps, please provide us with more details about your report.
Thanks.
Post Reply