Others

Append a Record to Multiple Related Tables in Microsoft Access

Natalie TaylorNatalie Taylor Nov 25, 2026 870 views

Question details

The user wants to append a selected record and its related data to multiple related Access tables.

Append a Record to Multiple Related Tables in Microsoft Access
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.
Before you start

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.

Solution 1Recommended

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.

1
Review the relationships

In Access, open Database Tools > Relationships and identify each parent table, child table, and foreign key involved in the append.

2
Create the parent append query

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.

3
Create child append queries

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.

4
Run and verify the 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.

Run Separate Append Queries in Parent-First Order
Avoid partial updates: Running queries separately does not automatically make them one atomic operation. Use a transaction when the destination data sources support it.
Free Microsoft Office alternative

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.

Review exported table data in WPS Spreadsheets.Open and edit Microsoft Excel formats such as XLSX and XLS.Use a familiar interface to make moving spreadsheet work easier.Work with a free, lightweight Office suite.
microsoft office alternative - wps office

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.