Using A2003. I'm attempting to delete all queries in an mdb. I was
experimenting with the following coding and discovered that it deletes
exactly half the queries each time it's run. If I have 100 queries,
then it deletes 50 the first time it's run. The next time, it deletes
25, and so on. What modifications do I need to make it delete all
queries in one execution? Thanks for any help or advice.
dbs.QueryDefs.Refresh
For Each qdf In dbs.QueryDefs
dbs.QueryDefs.Delete qdf.name
Next