update some fields in one table from another table

have attached sample:
how can i write update statement-to  update Table2 with data from Table1?
The fields in Table2 that are not in Table1 - i want the data to remain in the fields - when it is updated
thank you
Who is Participating?
Patrick MatthewsCommented:
UPDATE Table1 INNER JOIN Table2 ON Table1.ID = Table2.ID SET Table2.tname = [Table1]![tname], Table2.tmodel = [Table1]![tmodel], Table2.qty = [Table1]![qty], Table2.tdate = [Table1]![tdate];
You need to join the two tables together via a common key, then you can update a field in the first table with the value from a field in the second table.  In the query designer you would put the field in the 2nd table with square brackets around it in the update section for the first field.
davetoughAuthor Commented:
thank you
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.