Others

Update a Microsoft Access Field from Another Table

Bushra ParveenBushra Parveen Nov 22, 2026 869 views

Question details

Update a field in one Access table using a value selected from another table.

Update a Microsoft Access Field from Another Table
Product
Microsoft Access
Device & OS
not provided
Scenario
A user wants to assign a value from the TimeRange table to the AAA field in the ABCD table.
Observed behavior
The desired result is for the update query to select one appropriate BankBal value and assign it to the target field.
Before you start

Confirm that ABCD.AAA and TimeRange.BankBal have compatible data types and identify which source record should supply the value. Decide whether every row in ABCD should be updated or whether you need a WHERE condition.

Solution 1Recommended

Use a SELECT TOP 1 subquery in an Access UPDATE query

Use this approach to assign one value from TimeRange to the selected rows in ABCD.

1
Open SQL View

In Access, open the database, select Create > Query Design, and switch to SQL View.

2
Enter the update query

Enter: UPDATE ABCD SET AAA = (SELECT TOP 1 BankBal FROM TimeRange); Replace the table and field names if yours differ.

3
Choose the source value

If TimeRange contains multiple records, add an ORDER BY clause inside the subquery using fields that uniquely determine the intended record. Without an ordering, TOP 1 does not guarantee which value is selected.

4
Limit the target rows

Add a WHERE clause after the subquery if only certain ABCD records should change. Without it, the query updates every row in ABCD.

5
Run and check the query

Select Run on the query ribbon, confirm the update, and open ABCD to check the AAA values.

Use a SELECT TOP 1 subquery in an Access UPDATE query
Check the source and database design: The subquery must return one appropriate value; an empty result can produce Null, which may not be allowed in the target field. If the value can be derived when needed, consider using a SELECT query instead of storing a redundant copy.
Free Microsoft Office alternative

Work with Office files alongside your Access database

WPS Office is a free, lightweight alternative for working with documents, spreadsheets, and presentations. Its familiar interface and Microsoft Office format support make it easy to move everyday file workflows to WPS. It does not run or repair Microsoft Access database queries.

Use WPS Spreadsheets to review data exported from AccessOpen and edit Microsoft Office formats such as DOCX, XLSX, and PPTXNavigate familiar document, spreadsheet, and presentation toolsUse a free, lightweight suite for everyday Office files
microsoft office alternative - wps office

Frequently Asked Questions

Will this query update every record in ABCD?

Yes, unless you add a WHERE clause to the UPDATE statement. Add the condition after the subquery to restrict which ABCD rows are changed.

How do I choose which BankBal value TOP 1 returns?

Add an ORDER BY clause inside the subquery using the relevant sorting fields and a unique tie-breaker. Without an ORDER BY clause, the selected row is not guaranteed.

What happens if TimeRange has no matching value?

The subquery can return Null. Check that the source contains an appropriate row and that the target field permits Null before running the update.

Should I store a copy of a value from another table?

Not always. If the value can be calculated or retrieved when needed, use a SELECT query to avoid maintaining redundant data. Store a copy when the workflow requires a snapshot or another justified record of the value.