Am developing application using Delphi 7 and Sql Server express 2008 R2 , am using BDE to connect Sql Server through ODBC, and SQL Native Client is used for driver.
In some particular forms the table component raise EDBEngineError
'Record has been changed by another user' , am just try to append a data, the same problem occur when table.cancel
, table.post
, table.edit
.....
Few days before i changed driver from SQL Server to Sql Native Client because of sql server has problem with "connection has a result set for another hstmt" , so that i changed it to SQL Native client, form this i met this 'Record has been changed by antoher user' error.
Please any one help
SET NOCOUNT ON
at top of a trigger.Addition to (2): Other classical reason for "Record has been changed by another user". The
WHERE
phrase includes a field and a corresponding parameter, which do not match by precision (eg, precision is losted at client side), have different formats (eg, incompatible character sets), etc. You have to check the SQL command and parameter values sent to SQL Server using SQL Profiler.