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

Wrong Pagenumber in subreports

edited August 2005 in General
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

Comments

  • edited August 2005
    Hi Heiko,

    You need to set the Subreport.ResetPageNo property to False.

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited August 2005
    Hi Nico


    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.
  • edited August 2005
    Hi Heiko,

    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

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
This discussion has been closed.