Ian said:
Does anyone know how to change the criteria filter of a
save query using DAO QueryDef. An Example would be very
helpful.
A query is really an SQL statement (in the QueryDef's SQL
property). With that in mind, why bother (re)constructing
the QueryDef's SQL statement when, most likely, you can
apply the new SQL statement to whatever you want to use the
query for.
It's can get rather messy trying to parse out a query's
Where clause. It's much easier to add a new Where clause
to an unfiltered query.
I could be more specific if you explained more about what
you have and what you want to accomplish.