INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Jobs

Other

Dealing with "Operation Must Be An Updateable Query" error. by SQLBI
Posted: 7 Nov 03

Hi,

I have recently had problems using a Sub Query within an UPDATE Query. Each time i ran my code, Access prompted with "Operation Must Be An Updateable Query."

Looking at various TT posts, this is not an uncommon problem.

My original SQL was;

UPDATE tblAgreement AS A SET A.DateReceived = (SELECT AI.DateReceived FROM tblAgreementImport AS AI WHERE A.UniqueID = AI.UniqueID);

But each time i ran it, the error would pop up.

This problem was solved using the following SQL;

UPDATE tblAgreement AS A INNER JOIN tblAgreementImport AS AI ON A.UniqueID = AI.UniqueID SET A.DateReceived = AI.DateReceived;

This worked 100%.

Back to Microsoft: Access Queries and JET SQL FAQ Index
Back to Microsoft: Access Queries and JET SQL Forum

My Archive

Resources

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close