Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SQL Linked table error message

Status
Not open for further replies.

storm75m

Programmer
Apr 18, 2001
81
0
0
US
I have an Access 2000 database that I am developing, with a SQL server 2000 back end. Randomly, whenever I'm entering data into the table or moving from one record to the next, I recieve an error saying,

"The Data has been changed.
Another user edited this record and saved the changes before you attemped to save your changes."

Since this is still in development there is obviously no one else in the database.

I do have a trigger defined on the table that could be causing the problem:

CREATE TRIGGER TR_OfficeLocs_Update
ON dbo_OfficeLocs
FOR UPDATE
AS
set nocount on
UPDATE OfficeLocs
SET ModUsr = SUSER_SNAME(), ModDate = GETDATE()

I'm still relatively new to using SQL server. The weird thing is that it doesn't happen every single time. Any tips, or things I should check out? Thanks!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top