H
hstijnen
Hi,
I run a query with the following code:
Dim stDocName As String
stDocName = "qry_toRun"
DoCmd.OpenQuery stDocName, acNormal, acEdit
Now I want to set the Filter property before running. Something like:
qry_toRun.Filter = "anyVar < 10"
But that doesn't work. What is the proper code?
Thanks for help
Henk
I run a query with the following code:
Dim stDocName As String
stDocName = "qry_toRun"
DoCmd.OpenQuery stDocName, acNormal, acEdit
Now I want to set the Filter property before running. Something like:
qry_toRun.Filter = "anyVar < 10"
But that doesn't work. What is the proper code?
Thanks for help
Henk