G
GeyikBaba
In Access 2003 I am trying to both weed out unused queries and/or determine
everywhere a given query is used.
I've been able to use db.QueryDefs.SQL to programatically loop thru each
query, print the SQL to a text file, then do a search. It has worked very
well.
I'd like to do something similar with all reports - that is, loop thru each
report and list the RecordSource for each report, be it a table, query, or
sql query. Is there some kind of a collection, or other method, I could use
to do this? I did not see anything likely in the database collection.
Many thanks
Mike Thomas
everywhere a given query is used.
I've been able to use db.QueryDefs.SQL to programatically loop thru each
query, print the SQL to a text file, then do a search. It has worked very
well.
I'd like to do something similar with all reports - that is, loop thru each
report and list the RecordSource for each report, be it a table, query, or
sql query. Is there some kind of a collection, or other method, I could use
to do this? I did not see anything likely in the database collection.
Many thanks
Mike Thomas