Wrong Pagenumber in subreports
Hi !
I have a report with some child-subreports in the detailband. Every
subreport is fitting on one page.
In the title-band of each subreport is a pagenumber-systemvariable.
The variable is always showing "Page 1 of 1".
When moving the variable to the header of the main-report, it shows the
correct Pageno/Pagecount, but I need it to be in the subreports.
What to do ?
TIA
Heiko Knuettel
I have a report with some child-subreports in the detailband. Every
subreport is fitting on one page.
In the title-band of each subreport is a pagenumber-systemvariable.
The variable is always showing "Page 1 of 1".
When moving the variable to the header of the main-report, it shows the
correct Pageno/Pagecount, but I need it to be in the subreports.
What to do ?
TIA
Heiko Knuettel
This discussion has been closed.
Comments
You need to set the Subreport.ResetPageNo property to False.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Doesn't work, it's a child-subreport. The popupmenu-Item is grayed out.
Tried to set the property via the inspector, but still the pagenumbers are
1/1 on every page.
Sorry, I missed that you were strictly using Child subreports. The
ResetPageNo property is only available in Section style subreports. All
other subreports will print inside the master report. If you want an
accurate count of the master report, the system variable will need to reside
somewhere outside the subreport object. For instance inside the page footer
band.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com