Subreports with no data

D

DK

If a subreport has no data I want the subreport's header
to be displayed anyway. For a stand alone report this is
handled by adding the appropriate code to the report's
NoData event. I make a lable visible that says no data is
available. This does not work when the report becomes a
subreport. Any suggestions? Thanks.
 
A

Allen Browne

Try a text box with Control Source of:
=IIf([MySub].HasData, Null, "Nuffin 2 show.")
 
Top