Append a Record to Multiple Related Tables in Microsoft Access
Question details
The user wants to append a selected record and its related data to multiple related Access tables.

- Product
- Microsoft Access
- Device & OS
- not provided
- Scenario
- Copy a selected record and its related data into multiple tables while preserving their relationships.
- Observed behavior
- A single Access INSERT INTO query can append records to only one destination table.
Identify the destination tables, their primary and foreign keys, and which records need to be created rather than reused. Check whether any linked data sources support transactions and whether unique constraints could prevent duplicate inserts.
Run Separate Append Queries in Parent-First Order
Use one INSERT INTO query per destination table and run them in an order that preserves referential integrity.
In Access, open Database Tools > Relationships and identify each parent table, child table, and foreign key involved in the append.
Select Create > Query Design, switch to SQL View, and write an INSERT INTO statement for the parent table. Filter the source data to the selected record and save the query.
Create and save a separate INSERT INTO query for each child table. Use the correct parent key in each foreign-key field; if Access generates a new key, obtain that key before running the child queries.
Run the parent query first, followed by the child queries. Open the destination tables and verify that the new rows have the intended keys and relationships.

Execute the Append Queries in a VBA Transaction
Use VBA to coordinate the inserts and roll them back together if an operation fails and the data sources support transactions.
Work with Tabular Data in WPS Spreadsheets
WPS Office is a free, lightweight Office alternative with a familiar interface for working with spreadsheet data. It can help you review exported Access data, but it does not replace Access transactions or run Access append queries.

Frequently Asked Questions
Can one Access INSERT INTO query append to several tables?
No. Each INSERT INTO query targets one destination table. Create a separate append query for each table and run the parent-table query before the related child-table queries.
How do I link a new child record to a new parent record?
Insert the parent record first, then use its primary key in the child table's foreign-key field. If the parent key is generated automatically, obtain the new key before inserting the child record.
What happens if a child insert fails after the parent insert succeeds?
Without a transaction, the parent insert may remain. In VBA, use a DAO workspace transaction and an error handler that calls Rollback, provided all relevant data sources support the transaction.
How can I avoid creating duplicate related records?
Before running the append queries, check the destination tables for existing records using their identifying fields. Reuse existing keys where appropriate and respect unique indexes and relationship rules.




