Find Queries That Created or Updated an Access Table
Question details
Identify queries and other database objects associated with a Microsoft Access table when rebuilding an older database.

- Product
- Microsoft Access
- Device & OS
- not provided
- Scenario
- A user is rebuilding tables from an older database and wants to understand which queries may have created or updated them.
- Observed behavior
- The user needs to review table dependencies and query definitions to determine how the tables may have been populated or changed.
Open the older database in Microsoft Access and locate the table in the Navigation Pane. If Access asks to enable Name AutoCorrect information for dependency tracking, review the prompt and enable it if appropriate.
Review the table's Object Dependencies
Use Access to find database objects that reference the table, then inspect relevant queries.
In the Navigation Pane, click the table you want to investigate.
On the Database Tools tab, select Object Dependencies. Allow Access to update dependency information if prompted.
In the Object Dependencies pane, choose Objects that depend on me and expand the listed objects to look for queries that reference the table.
Right-click a relevant query in the Navigation Pane and choose Design View or SQL View. Check whether it reads from the table or targets it for changes.

Inspect saved action queries in SQL View
Use this method to check whether saved queries target the table for creation, insertion, or updates.
Work with exported Access data in WPS Spreadsheets
WPS Office is a free, lightweight alternative with a familiar interface for working with spreadsheet data exported from Access. Its Microsoft Office format compatibility can make moving spreadsheet work straightforward, but it does not inspect Access dependencies or replace Access database queries.

Frequently Asked Questions
How can I tell whether a query updates my table?
Right-click the query in the Navigation Pane, open Design View, and switch to SQL View. An UPDATE statement naming your table targets it for updates; INSERT INTO can indicate an append query.
Can Object Dependencies tell me which query created a table?
Object Dependencies can help you find related objects, but it is not a creation history. Inspect saved queries in SQL View for a SELECT ... INTO statement naming the table, and remember that the table may have been created another way.
Why might a query be missing from Object Dependencies?
Dependency information may be incomplete, or the process may be in code, an external database, or a query that was deleted. Check saved query definitions and other database processes separately.
Can I move the table without rebuilding its creation query?
Yes. In Access, select the table and use External Data export options to export it to another Access database. Exporting a table does not automatically recreate the queries or processes that populated it.




