In a nutshell (a large nutshell!), I have a complex Budget vs. Actual expense report made up of multiple subreports - 36 in all - one for each calendar month for Budgeted, Actual Labor and Actual Other expenses. Underlying queries for subreports are all built on the fly based on user input. I have two master reports which use the same set of subreports. One is grouped by resource name, the other by project name.
What I'm trying to avoid is having 72 subreports (36 for for the report by Resources and another 36 for the Project report).
Since I'm trying to run each subreport based on the type of report desired by the user, the Record source query will be different depending on report type. Although the subreport contains the same controls regardless of the record source. In the case of the Project subreport, the query has no "Resource ID" element, even though a "Resource ID" control appears on the subreport.
So, is there any way to deactivate the control named Resource ID on the Report Open event or something, so the report isn't looking for a control source that doesn't exist in the query?
Or better yet, is there another way to approach this?
Thanks!
What I'm trying to avoid is having 72 subreports (36 for for the report by Resources and another 36 for the Project report).
Since I'm trying to run each subreport based on the type of report desired by the user, the Record source query will be different depending on report type. Although the subreport contains the same controls regardless of the record source. In the case of the Project subreport, the query has no "Resource ID" element, even though a "Resource ID" control appears on the subreport.
So, is there any way to deactivate the control named Resource ID on the Report Open event or something, so the report isn't looking for a control source that doesn't exist in the query?
Or better yet, is there another way to approach this?
Thanks!