Subreport not showing up
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
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
This discussion has been closed.
Comments
You need to change the NoDataBehaviors property of your subreports to have
ndBlankReport set to True. This should automatically set ndBlankPage to
False.
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
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
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