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

New page and subreports

edited May 2004 in Subreports
Hi,

I have some trouble with new page and subreports :

I have a main report with some chained child-subreports in detail band, and
I want each subreport start printing on an new page.

I've set the NewPage-property on the titleband of the subreports, and the
result was that the title was printed on the last page (as if belonging to
the previous subreport) and the detail/summary on the next page.

So I set the NewPage-property on the summaryband of the subreports. OK, that
worked, but what about the first subreport ? The detailband in the
master-report doesn't have a NewPage-property, and if I use this property on
the title of the first subreport, I get the same result is above...page 1
prints master-report + title of first subreport, page 2 continues with the
subreport detail.

I'd love any suggestions...and sorry for my english ;-)

Heiko

Comments

  • edited May 2004
    Hi Heiko,

    You might try using Section Style subreports instead of Child. Section
    subreport will always start a new page by default.

    --
    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited May 2004


    But how to chain section-subreports ? There's no shift-relative-to property.
  • edited May 2004
    Hi,

    There is no need for them to shift as they will start a new page when they
    are printed.

    --
    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited May 2004
    Hi, me again ;-)


    I tried something like that (multiple section subreports in a detailband)
    some time ago, and most times result was a mess...mixed up bands from
    several reports on one page, and stuff like that.

    However, this time it worked...only one thing : How do I control the print
    order ? At the moment, subreport 1 prints after subreport 2, and so on...

    Cheers,

    Heiko
  • edited May 2004
    Hi Heiko,

    You can use the "Send to Back" , "Bring to Front" features of the subreport
    components to change the order of how they print. To be sure the order is
    correct you can take a look at the Report Tree (select View | ToolBars |
    Report Tree... from the designer menu). When you send certain objects to
    the front or back, you will see the order in the tree change.

    --
    Best Regards,

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