I have two tables with the same structure.
Then I suspect you have a poorly designed database. Why store the same
data redundantly in two tables, giving you the very update anomalies
you're now trying to fix?
I want to run a query from one table to the other to update any records
that have changes.
But I can not get the Update query to work?
How can I get this to work?
You'll need to Join the two tables, primary key to primary key. (If
they don't have a primary key you're out of luck).
Select all the fields in both tables. Put a criterion on each field of
the second table
<> [FirstTable].[fieldname]
using the actual table and field names of course. Put each criterion
on a SEPARATE line of the query design grid, to use OR logic.
Change it to an Update query and update each first table field to
[SecondTable].[fieldname]
again using the real name of the table and the field.
John W. Vinson[MVP]