Answered by:
access 2003 error

Question
-
User1382482195 posted
i'm getting this error while trying to run an acess query Operation must use an updatable query. (Error 3073)what this mean and how can i solve this?
Wednesday, March 23, 2011 6:04 PM
Answers
-
User-1199946673 posted
Not sure what your query looks likeThat''s not relevant! It's a permissions problem...
http://www.mikesdotnetting.com/Article/74/Solving-the-Operation-Must-Use-An-Updateable-Query-error
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Thursday, March 24, 2011 8:11 AM
All replies
-
User-1757793930 posted
Not sure what your query looks like so unable to really diagnose the problem however a quick google search yielded many results
http://www.access-programmers.co.uk/forums/showthread.php?t=13712
etc...
Wednesday, March 23, 2011 8:24 PM -
User-1199946673 posted
Not sure what your query looks likeThat''s not relevant! It's a permissions problem...
http://www.mikesdotnetting.com/Article/74/Solving-the-Operation-Must-Use-An-Updateable-Query-error
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Thursday, March 24, 2011 8:11 AM -
User3866881 posted
Not quite be sure about what you mean:)
You'd better paste all of your sql query codes.
As far as I know, this kind of problem usually happens when your update sql query doesn't look like an Update itself. Something like this:
UPDATE CLOG SET CLOG.NEXTDUE = (
SELECT H1.paidthru
FROM CTRHIST as H1
WHERE H1.ACCT = clog.ACCT AND
H1.SEQNO = (
SELECT MAX(SEQNO)
FROM CTRHIST
WHERE CTRHIST.ACCT = Clog.ACCT AND
CTRHIST.AMTPAID > 0 AND
CTRHIST.DATEPAID < CLOG.UPDATED_ON
)
)
WHERE CLOG.NEXTDUE IS NULL;If you use this kind of codes, it will raise the error.
Because the bold statement will return a collection of data by the compiler's thinking. So it cannot be regarded as a correct statement of update statement when running.
About "How to solve the problem", please see what hans-v's suggestion:)
Saturday, March 26, 2011 9:32 PM