I have an Access-application working on SQL-server with ODBC. Since last week I have a problem that in one of the linked tables records "lock" after inserting them, or to be more precise, when I want to edit/delete an existing record, I get:
"This record has been changed by another user blabla .... [COPY TO CLIPBOARD][DROP CHANGES]"
I am the only user currently (developing)
The table has an autoID, timestamps (missing these can cause some problems with odbc)
Directly on the server, the records are fine: I can edit them, remove them (using SSMS).
I can not recall making specific changes that could be related to this. The only change I can recall is adding a NTEXT-field, but without this field, the problem stays.
I have been playing with the Access-client recordlock settings but that doesn't make a difference. Current setting is "no locks" (since I want SQL to handle them).
Relinking the table doens't help, also when I create a linked table in another (new) access-db I have this problem.
So it must be something with the construction of the table?
Any idea's?
edit: another "strange" thing: when I take a multiweeks old version of my client the same table works. But when I refresh the link to the table in this old client, the problem occurs again... So it MUST be something in the table construction??
"This record has been changed by another user blabla .... [COPY TO CLIPBOARD][DROP CHANGES]"
I am the only user currently (developing)
The table has an autoID, timestamps (missing these can cause some problems with odbc)
Directly on the server, the records are fine: I can edit them, remove them (using SSMS).
I can not recall making specific changes that could be related to this. The only change I can recall is adding a NTEXT-field, but without this field, the problem stays.
I have been playing with the Access-client recordlock settings but that doesn't make a difference. Current setting is "no locks" (since I want SQL to handle them).
Relinking the table doens't help, also when I create a linked table in another (new) access-db I have this problem.
So it must be something with the construction of the table?
Code:
FIELD TYPE ALLOWNULL
QUOTATION_ID int Unchecked
QUOTATIONNR nvarchar(255) Unchecked
QUOTATIONDATE datetime Unchecked
COMPANY_ID int Unchecked
USER_ID int Unchecked
PROJECT_ID int Unchecked
MATERIAL_RES_ID int Checked
CUSTOMER_ID int Checked
STATUS_ID int Checked
RENTAL_STARTDATEdatetime Checked
RENTAL_ENDDATE datetime Checked
RENTAL_PERIOD int Checked
ORDERDATE datetime Checked
JB_ORDERNR nvarchar(255) Checked
COMPANY_ORDERNR nvarchar(255) Checked
REDUCTION_1 numeric(18, 3) Checked
REDUCTION_2 numeric(18, 3) Checked
REDUCTION_3 numeric(18, 3) Checked
REDUCTION_4 numeric(18, 3) Checked
REDUCTION_5 numeric(18, 3) Checked
REMARKS ntext Checked
ENTEREDON datetime Unchecked
ENTEREDBY nvarchar(255) Checked
UPDATEDBY nvarchar(255) Checked
UPDATEDON datetime Checked
DELETED bit Checked
edit: another "strange" thing: when I take a multiweeks old version of my client the same table works. But when I refresh the link to the table in this old client, the problem occurs again... So it MUST be something in the table construction??
Last edited: