View Full Version : How to modify a query’s WHERE clause with openQuery


arage
01-24-2002, 02:38 PM
How to modify a query’s WHERE clause with openQuery
I would like to be able to open a query from my form & have query results reflect what it is I entered on the form controls. However, looking at the openQuery method of the doCmd object, I don’t see anyplace where I might change the query’s WHERE clause based upon what I’ve entered in my form. What are my options? Please advise.

Jack Cowley
01-24-2002, 04:10 PM
This is probably what you are looking for...

http://support.microsoft.com/support/kb/articles/Q210/2/42.ASP?LN=EN-US&SD=gn&FR=0&qry=QBF&rnk=2&src=DHCS_MSPSS_gn_SRCH&SPR=ACC2000