M
Max
Acc2007. Have a subreport built on a query, linked to the main report on the
ID field. If there is no data in the subreport, would like to hide it. Have
tried this code in the No Data event of the subreport, but it isn't working:
Reports!MainReport!MySubReport.Visible = False
Reports!MainReport!LabelRP.Visible = False
(where LabelRP is in the main report)
Any help will be greatly appreciated. Thanks.
ID field. If there is no data in the subreport, would like to hide it. Have
tried this code in the No Data event of the subreport, but it isn't working:
Reports!MainReport!MySubReport.Visible = False
Reports!MainReport!LabelRP.Visible = False
(where LabelRP is in the main report)
Any help will be greatly appreciated. Thanks.