Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

Page Numbers

edited February 2003 in General
Hi,

I have a mainreport with groups.
This mainreport has a subreport in the summary band.

Settings for the page numbering is for each group to reset the page number.
(Normally I have 5 groups)
The last group gives me an 'incorrect' page indication since the pages of
the subreport are also counted in the total number of pages for the group.
So when having a subreport of 5 pages and a last mainreport group of 2
pages; I get for that last group the page indication of page 1 of 7 and it
has to be page 1 of 2

The subreport also have groups which reset the pagenumber.

How can I prevent this behaviour?

Regards,
Wouter Devos
XLent Solutions

Comments

  • edited February 2003

    Try setting the subreport PrintBehavior to pbSection and then set
    subreport.ResetPageNo to True.

    When I try this with a simple test here, it works properly. The summary
    prints at the end of the report with its own page numbering.

    If you are using a common header and footer for the report, then you will
    need to copy the header and footer layout to the summary section.

    --
    Nard Moseley
    Digital Metaphors
    http://www.digital-metaphors.com

    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
This discussion has been closed.