Strange page count in report
Hi, I created a report that have multiple subreports, when I browse the
report (whether during runtime or design time) I found the value of
pagecount system variables the same as the page number, that is, when I
browse page 1 of a report containing *5* pages, it shows page '1 of 1',
scrolling to page 2 gives page '2 of 2' and so on, until I scroll back to
the first page the pagecount resets to 5! Is there anything I'm missing?
Please comment and greatly appreciate your help!
HL
report (whether during runtime or design time) I found the value of
pagecount system variables the same as the page number, that is, when I
browse page 1 of a report containing *5* pages, it shows page '1 of 1',
scrolling to page 2 gives page '2 of 2' and so on, until I scroll back to
the first page the pagecount resets to 5! Is there anything I'm missing?
Please comment and greatly appreciate your help!
HL
This discussion has been closed.
Comments
in the designer the menu Report/Pass Setting/Two pass
Enjoy
Ed Dressel
Team DM
If you are getting Page 1 of 1, Page 2 of 2, etc., the you need to set
Report.PassSetting to psTwoPass.
If the subreports are pbSection, you can use the subreport.ResetPageNo to
control whether page number restarts when a subreport generates.
--
Nard Moseley
Digital Metaphors
http://www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com