I have a course in databases and currently am studying vba in MS-Access.
This is from one of our books about the parameters of Docmd.OpenForm method (Not the exact phrase. Just as far as I remember) :
But it doesn't give any examples. Most sample codes use the where clause to open a form.
I'm trying to open a form with an exact filter. How can I save a filter as a query?
Or maybe I should ask: How can I use FilterName parameter correctly?
Any link to on-line articles can help too.
Thanks.
This is from one of our books about the parameters of Docmd.OpenForm method (Not the exact phrase. Just as far as I remember) :
You can use either an existing query or a filter that was saved as a query for FilterName.
But it doesn't give any examples. Most sample codes use the where clause to open a form.
I'm trying to open a form with an exact filter. How can I save a filter as a query?
Or maybe I should ask: How can I use FilterName parameter correctly?
Any link to on-line articles can help too.
Thanks.