Page 1 of 1

"#%#{PageNumber..." instead of PageNumber value

Posted: Thu Feb 21, 2013 3:11 pm
by LukasT
Hello,
I have some strange issue in one of our very complex report, but I can't find out where is mistake....
I have report with detail with subreport which has header and detail... in header I need to print current page.... on first printed page i see correctly number of actual page, but on next pages is printed this text - "#%#{PageNumber..." What is wrong? Please, see attached simple example....
Thank you....

Re: "#%#{PageNumber..." instead of PageNumber value

Posted: Fri Feb 22, 2013 7:23 am
by HighAley
Hello.

The sub-report is rendered on the page with unlimited height. And then all elements are moved to the main page.
It's not correct to use Page Header on the sub-reports because it's not a page as is. You should use a page header on the Page1.

Thank you.

Re: "#%#{PageNumber..." instead of PageNumber value

Posted: Fri Feb 22, 2013 7:49 am
by LukasT
But it is not on PageHeader but on DataHeader...

Re: "#%#{PageNumber..." instead of PageNumber value

Posted: Fri Feb 22, 2013 12:17 pm
by HighAley
Hello.

It's no matter. There is no pages on the sub-report. If you need to show page numbers, please, move this text box to the main page.
By the way, it's possible to put several bands on the page. It's better to avoid using sub-reports and use Panel where you need sub-report.

Thank you.