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.

devx-admin

Share the Post: