I have a report with a header and 3 subreports all linked by id but the sub reports will only display if there is data for all three subreports. They need to be linked
I expect that any of the three will show if there is linked data in the individual subreport. If there is no data, the subreport absolutely will not show. What do you expect to see if there is not data in the subreport? Whatever you want to see can be placed on the main report and set to invisible. If the subreport has no data, then make the controls visible.
Duane
MS Access MVP
Find out how to get great answers faq219-2884.
in the control field of the total the code below works
=IIf([OneofYourSubReports].[Report].[HasData],[OneofYourSubReports].[Report]![Total],0)+(IIf([anotherofYourSubReports].[Report].[HasData],[anotherofYourSubReports].[Report]![Total],0))+(IIf
Etc
the above will give you a total even if one has no data
The sub reports should be placed in the report footer
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.