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;
Code:
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;
Code:
UPDATE tblAgreement AS A INNER JOIN tblAgreementImport AS AI ON A.UniqueID = AI.UniqueID SET A.DateReceived = AI.DateReceived;
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.