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

Printing 2 different reports one after another

edited November 2003 in Subreports
I have a (I think simple) subreport question.

I want to print 2 different reports as one, one after another, with page
number reset after printing the first.

To do this, I tried to place the second report as a section-subreport at the
bottom of the summary band with reset page number setting. The summary-band
is dynamically sized and contains 2 stretching memos and a region besides
the subreport, and they should belong to the first report.

When I preview the report, its all OK till the summary band is reached, then
the subreport and the summary band are mixed up on a new page.

Any Ideas ?

TIA

Heiko Kn?ttel

Comments

  • edited November 2003
    Did you set the ShiftRelativeTo property of the subreport, regions, and
    memos? (Right click on the subreport and you can get to this easily)

    Jim

  • edited November 2003
    The two memos and the region have their shiftrelativeto-property set.

    A section-subreport doesn't have a this property. I need to use a section
    because I want a PageNoReset, and I don't want the title and foot of the
    first report to be shown in the second. They should be separated.

    Both reports work perfectly on their own, but I want to concat them to one
    report. When I place the second report as a section-subreport, the summary
    of the first report is printed on a new page, mixed up with the second
    report.

    I tried to place the other components in the summary band of the first
    report in an own child-subreport, but results are the same. Can't use a
    section here because the summary of the first report should not be printed
    on a new page.

    Any more Ideas ? ;-)

    Heiko Kn?ttel



  • edited November 2003
    Hi Heiko,

    You're best be would be to create a completely new report with two
    subreports inside its Detail band set to shift relative to each other. Then
    either dynamically or manually load the templates of your existing reports
    into each of the subreports. This way each report will be completely
    separated from the other. Be sure your detail band's PrintHeight is set to
    phDynamic.

    --
    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited November 2003


    Thanks ! That worked.
This discussion has been closed.