I am stumped - that I was on the right track.
I have a Query: MgrAnnualReportQ
I have a Report: AnnualResultsMgr
The Query takes a filter from a ComboBox on a form - (choose the Mgr then press button to run report)
If I run the Query and put in the Mgr (enter Parameter value) - the query runs fine.
Then I run the report (entering the parameter value)
with this Dsum formula in the Expression Builder for the Control Source for a Text Box:
Code:
=DSum("[DealRevenue]","[MgrAnnualReportQ]","[InvoiceMonth]=1 And [InvoiceYear]=Year(Date())")
Access shows "calculating" and then returns #error in the report.
Any ideas?