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

Print Order of SubReports

edited January 2004 in General
Hi

I have a report which contains several subreports. the first subreport (a
graph) is pbChild the rest are pbSection. I want to print the graph on the
first page, immediately after the report title band. The rest of the
subreports are tables which should each start on a new page.

The problem is this: When I print my report the graph subreport is always
printed last. despite it being created (dynamically in code) first. I then
have a title and the rest of the page is blank which doesn't look good.

Can anyone help?
Susie

Comments

  • edited January 2004
    Hi Susie,

    When ReportBuilder sees a section style subreport, it automatically breaks a
    page and prints the subreport on a new page. For this reason, it is never a
    good idea to place a child subreport and a section subrepor in the same
    band. I would suggest creating a group based on a static label and placing
    the child subreport inside the group header.

    --
    Best Regards,

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

    I've done that. I put my graph subreport in the header band and the rest of
    the subreports in the group header band grouping on a static label. After a
    few initial difficulties, I now have a situation where the graph prints out
    on Page 1 as required, the rest of the subreports print OK and then, the
    graph prints out again on the last page which is a problem.

    Why is this happening. Surely it shouldn't be too big a deal to print out a
    number of subreports, once each and in the correct order?

    Do you have a different solution to this problem that I can try?
    best regards
    Susie



  • edited January 2004
    Hi Susie,

    Be sure you do not have the "Reprint group headers on subsequent pages"
    option checked for your group.

    --
    Best Regards,

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

    It's not set. Anything else I can try?

    Susie


  • edited January 2004
    This is interesting... Please send an example of this behavior in .zip
    format to support@digital-metaphors.com and I'll take a look at it for you.

    --
    Best Regards,

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