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

Subreport question

edited May 2002 in General
I have a detail section of a sub report (#1) and it contains another
subreport (#2).
When I run out of room on the page for sub report #2 it goes to a new
page. However it does not print some of the information I want on sub
report #1. For example, sub report #1 a customer file and contains
customer name. Sub report #2 is the items they ordered, is there a
way to have sub report #2 when it goes to a new page, to keep the
information from sub report #1 on the next page. This is a very
complicated report, so I may not be explaining it very well (it has a
total of 10 sub reports).

Comments

  • edited May 2002
    You can place a group in the subreport and set its break value to the key
    linking field. Move the information you want to print from the master
    detail band to the group header band. In the detail dataset, you should be
    able to access the master records from the master datapipeline by setting
    the dbTexts Datapipeline and Datafield properties from the master pipeline.


    Cheers,

    Jim Bennett
    Digital Metaphors

  • edited May 2002
    I am not sure if this will work. The way the subreport is setup is there is
    information in the header section and the detail subreport is also in the
    header section because it needs to be printed in a certain location on the
    report.

  • edited May 2002
    rearranging the way the report is a little, so never mind. Thanks!

This discussion has been closed.