We help IT Professionals succeed at work.
Get Started

How to run update query on 2 many-to-one tables

Patty01Access
on
437 Views
Last Modified: 2012-08-13
I have 2 many-to-one tables.

Both the Ppty_ID and UnitID fields are indexed and allow duplicate values in each table.

If the Ppty_ID and the UnitID fields are the same in both tables, I want one to overwrite the values in one of the tables based on a DateModified field.

I keep getting the error: "Operation must use an updateable query."

Neither has a primary key, and I can't use an autonumber field in each table to create a primary key.

Is there another workaround to get this done?

The query and tables are in the attached.

Thanks!
UpdateRecords.accdb
Comment
Watch Question
Commented:
This problem has been solved!
Unlock 3 Answers and 9 Comments.
See Answers
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE