Preview a Microsoft Access Update Query Before Running It
Question details
The user wants to review the values an update query will produce before changing records in Microsoft Access.

- Product
- Microsoft Access
- Device & OS
- not provided
- Scenario
- A user is preparing an update query and wants to verify its effects before running it.
- Observed behavior
- Datasheet View may show existing values rather than the proposed updated values, and running the update query modifies records.
Identify the table, update expression, and criteria your query will use. In Access, use File > Save As > Save Database As > Back Up Database to create a backup before applying the update.
Preview proposed values with a select query
Use a select query to compare current values with calculated replacements before running the update.
The example previews a 4% salary increase for every record in the Employees table. Adapt the table, fields, expression, and any criteria to match your update.
In Access, select Create > Query Design, then open SQL View from the View menu.
Enter: SELECT EmployeeID, FirstName, LastName, Salary, Salary * 1.04 AS NewSalary FROM Employees;
Select Run and compare Salary with NewSalary in the results. If your update will use a WHERE clause, add the same clause to this select query so you review the same records.
Return to SQL View and replace the select statement with: UPDATE Employees SET Salary = Salary * 1.04; Add the same WHERE clause used in the preview, if applicable. Select Run and confirm the prompt only after checking the results and backup.

Review spreadsheet calculations with WPS Office
WPS Office is a free, lightweight alternative for everyday office work, with a familiar interface and support for common Microsoft Office formats that helps make migration easier. WPS Spreadsheets can help you review calculations in spreadsheet data, but it does not run or fix Microsoft Access update queries.

Frequently Asked Questions
Does Datasheet View show the new values for an Access update query?
It may show the existing values rather than the proposed replacements. To review the calculation reliably, run a select query that includes both the original field and a calculated field.
How do I preview only the records my update will change?
Add the same WHERE clause to the select query that you plan to use in the update query. Check that both queries use the same tables, joins, and criteria.
Can I undo an update query after it runs?
Do not rely on Undo to reverse an update query. Before running it, use File > Save As > Save Database As > Back Up Database to create a backup.
What happens if I omit the WHERE clause?
An update query without a WHERE clause updates all records in its target table. Add criteria when you intend to change only a subset.




