Determine which tables are no longer used

CedarTree

Registered User.
Local time
Yesterday, 23:31
Joined
Mar 2, 2018
Messages
418
Hello - inherited an Access database with lots of tables that I suspect are not being used. How can I "audit" which tables are not not being referred to in any queries, modules, etc. so that we can slim down the DB (I would move the un-used tables to a backup DB just in case of course). Thanks!
 
Last edited:
The Access Database Documenter would be a good starting point.
1731003731250.png

One method I've used is to rename all suspect tables from say, tblYourBestChoices to Z_tblYourBestChoices. Run the database through all of its functions. If something fails because of a missing table (form's recordsource, queries, etc.), then you rename it back and move on.
 
Another built in method is to view the object dependencies for each table
However, you can only do that with one table at a time

If you have a large number of tables or databases to check, you might find my database analyzer useful:

You could also check out other third party tools including:
 
One method I've used is to rename all suspect tables from say, tblYourBestChoices to Z_tblYourBestChoices. Run the database through all of its functions. If something fails because of a missing table (form's recordsource, queries, etc.), then you rename it back and move on.
This only works if you have Name Autocorrect turned off. With NAC on, Access will help you out and fix up the links to use the "new" table name.
 

Users who are viewing this thread

Back
Top Bottom