Try issuing for the statement in question, an ODBC SQLSetStmtAttr( hstmt, SQL_ATTR_CONCURRENCY, SQL_CONCUR_VALUES, ...). The ODBC specification says that the default is SQL_CONCUR_READ_ONLY, that the cursor is read-only, and that no updates are allowed.
Hope this helps,
Dave
|