Hi,
I've been researching on how to hide a sub report if there is no data within.
Basically i have an access database that enables me to run a register report, now linked to the register reports is a subreport that is for special requirements, so if that particular employee has any special requirements it will appear on the subreport. The table for the special requirements is seperate and links using a learner ID.
I've gathered from my research to use the .HasData property as well as enabling CanShrink to yes, i've tried the canshrink and that brings it to one line but the subreport still appears. I want it to completely not show if the report brings out blank fields. I've tried using the .HasData property but cannot seem to find it even when using it in code. I have Access 2010, but the database is .mdb rather than .accd
Please help
Thanks
V
I've been researching on how to hide a sub report if there is no data within.
Basically i have an access database that enables me to run a register report, now linked to the register reports is a subreport that is for special requirements, so if that particular employee has any special requirements it will appear on the subreport. The table for the special requirements is seperate and links using a learner ID.
I've gathered from my research to use the .HasData property as well as enabling CanShrink to yes, i've tried the canshrink and that brings it to one line but the subreport still appears. I want it to completely not show if the report brings out blank fields. I've tried using the .HasData property but cannot seem to find it even when using it in code. I have Access 2010, but the database is .mdb rather than .accd
Please help
Thanks
V