DoCmd.ApplyFilter Question
DoCmd.ApplyFilter Question
(OP)
Ok, so I am looking at someone else's code. They have used a filter on a form. But the filter is like
DoCmd.ApplyFilter "NameOfaQuery"
I don't see any documentation that you can use a name of a query as a filter. I assume it is just taking the criteria from the query and applying it to the filter.
Anybody else ever seen this before?
Thanks
Simi
RE: DoCmd.ApplyFilter Question
You can use a query as a filet.
Thanks
Simi
RE: DoCmd.ApplyFilter Question
Your question is not a VBA question. It is an Access Macro question, best addressed in one of the many Access forums here at Tek-Tips.
Skip,
Just traded in my OLD subtlety...
for a NUance!
"The most incomprehensible thing about the universe is that it is comprehensible" A. Einstein