Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DoCmd.ApplyFilter Question

Status
Not open for further replies.

simian336

Programmer
Sep 16, 2009
723
US

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
 
Oops.. I found it.

You can use a query as a filet.

Thanks

Simi
 
Hi,

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,
[sub]
[glasses]Just traded in my OLD subtlety...
for a NUance![tongue][/sub]
"The most incomprehensible thing about the universe is that it is comprehensible" A. Einstein
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top