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

Subreport not showing up

edited February 2004 in Subreports
Hi,

Iam using Delphi 5 & ReportBuilder 6.03.

I have a Report with 3 child subreports in the summary band. Each one of
them has a separate datapipeline. I want all the reports to print even if
there is no data found in any one of them. I have set all datapipelines
SkipwhenNoRecords to false.

When there is no data my main report prints, but the subreports do not print
when they do not have data.

Everything works fine as expected when there is data.

Any ideas what could be wrong?

Cheers
Srikumar

Comments

  • edited February 2004
    Hi Srikumar,

    You need to change the NoDataBehaviors property of your subreports to have
    ndBlankReport set to True. This should automatically set ndBlankPage to
    False.

    --
    Best Regards,

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

    I dont find a NoDataBehaviours property for my Subreport. I find that
    property only for my Main Report.Am I missing something? BTW I am using ver
    6.03.

    Cheers
    Srikumar


  • edited February 2004

    Access the workspace for the subreport by selecting the tab at the bottom of
    the Designer. The ChildReport object will become selected in the object
    inspector. You can then set the NoDataBehaviors property.

    Simplified class hierarchy:

    TppComponent
    |
    TppSubReport


    TppCustomReport
    | |
    TppReport TppChildReport


    The Subreport.Report is a TppChildReport.

    --
    Nard Moseley
    Digital Metaphors
    http://www.digital-metaphors.com

    Best regards,

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