Access 2010 - simple update query gives "Operation must use an updateable query"

InstructionWhich7142

Registered User.
Local time
Today, 19:42
Joined
Feb 24, 2010
Messages
203
Access 2010 - simple update query gives "Operation must use an updateable query"

Code:
UPDATE PrioStaff INNER JOIN wname ON PrioStaff.wn_ref = wname.wn_ref SET PrioStaff.wn_lvr = [wname].[wn_lvr];

Both are tables, why on earth doesn't this work?!?

(I started with something more complex and kept getting this error so reduced it as much as possible, I really don't get it)

edit: so I've tested it with primary keys set on both tables, not just the one I want to update and it works, buy WHYYYY?!? this seems a stupid requirement, one table is an import and doesn't get a key, or need a key! by default.

Should I just give up and use a dlookup to fudge it? (seems a bit weak)
 
Re: Access 2010 - simple update query gives "Operation must use an updateable query"

Are the fields you are trying to JOIN on Indexed? If not we are having a problem.
 
Re: Access 2010 - simple update query gives "Operation must use an updateable query"

They aren't, why is this a requirement?
 
Re: Access 2010 - simple update query gives "Operation must use an updateable query"

Indeed ! :rolleyes:

Explain what you want to do, maybe we could find you a solution.
 
Re: Access 2010 - simple update query gives "Operation must use an updateable query"

the dlookup route has sorted it, and as there's only a few hundred records and its an admin level user data refresh its not a problem :)
 

Users who are viewing this thread

Back
Top Bottom