From: John Spencer on
In the section of the report that has the subreport, you would need some VBA
code like the following in that sections format event

IF NameOfSubReportControl.HasData Then
NameOfSubReportControl.Visible = True
NameOfSubReportControl.Visible = False

John Spencer
Access MVP 2002-2005, 2007-2010
The Hilltop Institute
University of Maryland Baltimore County

Bruce wrote:
> John,
> I cannot locate where I would use the HasData property of the sub-report. I
> am aware of the can shrink property and have that set to yes (also have the
> can grow property set to yes). I have looked at each line in the properties
> window but cannot locate where I set the HasData property. In fact I typed in
> HasData into the help menu and there were no results found. Could you please
> give me a little more assistance?