InstructionWhich7142
Registered User.
- Local time
- Today, 12:29
- Joined
- Feb 24, 2010
- Messages
- 203
Access 2010 - simple update query gives "Operation must use an updateable query"
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)
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)