You can possibly extract the filter value with syntax like:
Forms!frmMain!sfrmCntrlName.Form.Filter
You might then use this value as the where clause in the docmd.openreport method.
Duane MS Access MVP
[green]Ask a great question, get a great answer.[/green] [red]Ask a vague question, get a vague answer.[/red]
[green]Find out how to get great answers faq219-2884.[/green]
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.