Dont display group header if no data present

  • Thread starter brownti via AccessMonster.com
  • Start date
B

brownti via AccessMonster.com

I have looked around a bit and found some solutions to some similar problems,
but not quite this exact problem. I have a report with Hardware Group Header.
In this header i have a sub report that shows all openings, from another
table, that are part of this hardware group. Then the details section of the
main report shows the items in that particular hardware group. I have some
hardware groups that aren't assigned to any opening so nothing shows in the
sub report, but information does show in the main report. i would like to
not show the hardware group header (and detail section) if there is nothing
in the sub report. How could i achieve this? Thank you
 
N

NetworkTrade

there is a HasData method you could use

subreport.Report.HasData

check this out in the VBA help section
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top