devxlogo

Query is not Updateable Error

Query is not Updateable Error

Question:

When trying to run the SQL statement, I get this error but I don’t know what it means:

Microsoft OLE DB Provider for ODBC Drivers error '80004005' [Microsoft][ODBC Microsoft Access Driver] Operation must use an updateable query. /cgi-bin/action.asp, line 34 

Answer:

You are trying to update a recordset, but the underlying query is not updateable. For example, if you obtain data by joining two or more tables, then the resulting set of data is read only, and cannot be updated. To test whether your query is updateable or not, create it first in Access, run it and then try to change the data in the results datasheet. If Access does not allow you, watch the status bar line?it will tell you that the recordset is not updateable. In that case, you cannot use that query for updating data. Rewrite your query in a different manner.

See also  Professionalism Starts in Your Inbox: Keys to Presenting Your Best Self in Email
devxblackblue

About Our Editorial Process

At DevX, we’re dedicated to tech entrepreneurship. Our team closely follows industry shifts, new products, AI breakthroughs, technology trends, and funding announcements. Articles undergo thorough editing to ensure accuracy and clarity, reflecting DevX’s style and supporting entrepreneurs in the tech sphere.

See our full editorial policy.

About Our Journalist