Operation must use an updateable query.

what wrong?

UPDATE VOTER
SET CONF_ID = (SELECT MAX([conf_id])+1 FROM VOTER)
WHERE SIN = 123457891

Error in update:java.sql.SQLException: [Microsoft][ODBC Microsoft Access Driver]
Operation must use an updateable query.

    I am writing this in Java and somebody help please

      maybe you missed the title of this site. It is PHPbuilder not JavaBuilder.

        Sounds like Access doesn't like subqueries.

        Try a real database, MSSQL or Postgresql and it might work.

          Write a Reply...