PRB: "Record Has Been Changed" Error After UpsizingLast reviewed: March 11, 1997Article ID: Q163994 |
The information in this article applies to:
SYMPTOMSIf you move a table from Microsoft Access 95 to SQL Server 6.5 with the Upsizing Wizard, and if the Upsizing Wizard added a timestamp field, Microsoft Access produces a dialog box titled Write Conflict that contains the following error:
This record has been changed by another user since you started editing it. If you save the record, you will overwrite the changes the other user made. Copying the changes to the clipboard will let you look at the values the other user entered, and then paste your changes back in if you decide to make changes.This problem does not occur with SQL Server 6.0 or with Microsoft Access 97.
CAUSEThe Upsizing Wizard moves the data to the server and then sends an alter table statement to add the timestamp field. This adds the timestamp field, but leaves it blank. After the upsizing is complete and it sends the update to the server, Microsoft Access sends the update with the timestamp value of null, but it uses the SQL Server 6.0 syntax (that was appropriate when the Upsizing Wizard was written). However, this procedure fails with SQL Server 6.5. This problem is caused by the change in the default ANSI_NULLS option for the driver. For more information, see the following article in the Microsoft Knowledge Base:
ARTICLE-ID: Q152021 TITLE : PRB: Deleting Records Containing NULLs Using DAO WORKAROUNDTo work around this problem, do the following:
MORE INFORMATIONAnother workaround is to upsize the table without data. Then link to the table and move the data into it with an append query. (AutoNumber/identity fields require the use of IDENTITY_INSERT.)
|
Additional query words: 6.50
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |