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

Problem with subreports

edited December 2004 in General
Hello all!
I'm using Delphi 7 and Report Builder 7.03
My problem is this:
I have a Masterdataset that is the datasource for the main report
datapipeline, and 5 other Detaildatasets that have foreign keys of this
Masterdataset.
Each Detaildataset is linked with the MasterDataset by the datasource
property.
So, my ideia is to have a report, where in the detail band I have the info
of the MasterDataset and then the info of each detaildataset (if that info
exists) in sub-reports (one for each detail dataset). The problem is
precisely this. If the detaildatasets don't have data, then even the
masterdataset information isn't printed.
I must be doing something wrong, because this looks like a standart report
method.
Any tips?
Thanks

Goncalo Martins

Comments

  • edited December 2004

    For each of the detail DataPipelines set SkipWhenNoRecords to False to
    specify that the master should be included in the report.

    If you are using the ReportDesigner's Data workspace to create query
    dataviews, then double-click on the visual link to access the Link dialog.
    You can specify the option from there.


    --
    Nard Moseley
    Digital Metaphors Corporation
    www.digital-metaphors.com



    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
This discussion has been closed.