Hi - thanks for much for coming back to me. I remember you were kind enough to answer a query of mine before!
So I have created a dashboard, which contains various subforms, each of which has a list of say, Departments. I want to click on one of the listed items and for the underlying report to open up, filtered by the Department I just clicked.
This is what i have now, but the Report is trying to use the word DOMAIN as the filter.
Private Sub Domain_Click()
DoCmd.OpenReport "rpt_Final Aggregate", acViewPreview, , "[Domain] = 'Domain'"
End Sub
What I need is to pass Dept. A as the filter criteria.
Thoughts, very very welcome and thank you in advance.
