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

Stimulsoft Reports.NET discussion
Post Reply
LukasT
Posts: 306
Joined: Mon May 03, 2010 2:50 am
Location: Czech Republic

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

Post 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....
Attachments
new 2.mdc
(152.88 KiB) Downloaded 323 times
new 2.mrt
(20.1 KiB) Downloaded 324 times
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

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

Post 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.
LukasT
Posts: 306
Joined: Mon May 03, 2010 2:50 am
Location: Czech Republic

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

Post by LukasT »

But it is not on PageHeader but on DataHeader...
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

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

Post 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.
Post Reply