execute query

jacks

Registered User.
Local time
Today, 15:35
Joined
Jun 3, 2007
Messages
28
I'v defined an update query as a string in my VBA code.
Then I execute the update query with : CurrentProject.Connection.Execute

however, I want the query out of the code and into the query folder where the other query's are.

How can I execute the query from within the VBA code when I do this ?
 
DoCmd.OpenQuery "qryYourQueryName"
 

Users who are viewing this thread

Back
Top Bottom