Subreports with no data
Hello there,
I have a number of subreports in a fairly simple report.
If a subreport returns no records, ReportBuilder does not display that
subreport at all.
I would actually like the empty subreport to be displayed so that the users
can see that no records have been attached.
Is there any way of stopping Report Builder from hiding the empty subreport?
Thanks,
Nick
I have a number of subreports in a fairly simple report.
If a subreport returns no records, ReportBuilder does not display that
subreport at all.
I would actually like the empty subreport to be displayed so that the users
can see that no records have been attached.
Is there any way of stopping Report Builder from hiding the empty subreport?
Thanks,
Nick
This discussion has been closed.
Comments
object int he subreport. This is the Subreport.Report property. From teh
designer, go into the subreport workspace. Then click on the greyed out
report icon in the upper left corner of the workspace. This is between the
top and left rulers. Then in the object inspector, the class of the object
selected should be TppChildReport. The NoDataBehaviors should be accessible
from the OI now.
Be sure to set the detail datapipeline's SkipWhenNoRecords property to False
so that the master record prints even when no detail data exists.
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com