Queries - Where Used Query?

GUIDO22

Registered User.
Local time
Today, 10:14
Joined
Nov 2, 2003
Messages
515
:confused:
Hello - I have a fiar few queries defined in my database - what I need is a damn good clear out!

I need to identify those queries that are utilised either called directly from VBA or defined as recordsource properties in my form designs. Is there a query I can run that tells me ALL queries utilised throughout the DB?

I can then delete those that are not in the query results...... any ideas please would be gratefully received!

Thank you.
 
Allan - one further question - the field in the table - Query_In_Use_By_DB - resulting records all have the value false...? What purpose is this field and how does it work - I couldnt quite understand the code in the last For loop....
 

Users who are viewing this thread

Back
Top Bottom