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

pageno in mainreport and subreport

edited September 2004 in Subreports
I have a report with 2 subreport, I place 3 systemvariable , one for main
report and the other 2 for the two subreport.
I want the pageno is Mainreport (page1, page2, page3) and then in subreprot
(page4, page5) and subreprot2(page6, page7). But I find that the result is
Mainreport(page1, page2, page3) and then in subreport (page1, page2) and
subreport2(page1, page2). That is the pageno in subreport is reset to 1. How
can I make the pageno in subreport continue with the pageno in main report.
(can't use absolute pageno because in main report, the pageno will reset
with group change)

Comments

  • edited September 2004
    Hi Kei,

    You need to set the TppSubreport.ResetPageNo to False. This will force the
    subreport to use the master report page numbers rather than subset page
    numbering. This property is available in the delphi object inspector at
    design time.

    --
    Best Regards,

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