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

Blank pages in Master-Detail with Grouping

edited December 2010 in General
I have created a master-detail report with some subreports. The
subreports are in the Detail band and have their PrintBehavior set to
Section so each starts with a new page. I have not included anything
(other that the subreports) in the Master. If I do not have a group for
the Master, the report is correct. The pages are as follows

Subreport1 ? first Master record
Subreport2
Subreport3
Subreport1 ? second Master record
Subreport2
Subreport3
Subreport1 ? third Master record
Subreport2
Subreport3

If I add a group to the Master, blank pages are inserted at the
beginning and end of the report, and every time the Master record
changes. The pages are as follows.

Blank page
Subreport1 ? first Master record
Subreport2
Subreport3
Blank page
Subreport1 ? second Master record
Subreport2
Subreport3
Blank page
Subreport1 ? third Master record
Subreport2
Subreport3
Blank page

Since I would like to use the outline to show the Group value for each
master record in Preview, how can I eliminate the blank pages?




--- posted by geoForum on http://www.newswhat.com

Comments

  • edited December 2010
    Hello,

    For future reference, please use your real name when posting to these
    newsgroups.

    Section subreports are generally intended to be used to combine multiple
    reports into a single report. Once you add bands other than the detail band
    to the main report, blank pages are a result because the engine assumes that
    this information needs to be on a separate page than the subreport(s).

    To work around this issue, try using Child style subreports instead but to
    keep each subreport on a separate page, place a TppPageBreak in between each
    subreport. Note that each component will need to ShiftRelativeTo the
    preceding component...

    Subreport1
    PageBreak1
    Subreport2
    PageBreak2
    Subreport3
    PageBreak3



    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.