SQL Server 2000 And Access 97 - Write Conflict

SQL Server 2000 And Access 97 - Write Conflict

Post by Hal » Wed, 17 Oct 2001 23:54:29



I am getting a Write Conflict when trying to modify a
record in Access97 that was written to the SQL Table that
is linked.  The record writes fine from the Form via SQL,
but I am not able to modify it once in.  The error is
stating that the record has been changed by another user
since i started editing it, although there is nobody else
using the system and the record is new...
Any ideas/solution would be greatly appreciated.
 
 
 

SQL Server 2000 And Access 97 - Write Conflict

Post by Bob Pfeif » Thu, 18 Oct 2001 00:14:38


This happens because of the way row versions are checked (what was fetched
back to Access vs. what's currently in the SQL Server) when you try to
update a row, certain datatypes in the underlying SQL Server table can cause
the versions to appear different even if no one else changed the data.  This
can be fixed by adding a timestamp column to the SQL Server table that will
then be used for row version comparison.  KB article Q278696 explains one of
the situations that causes your problem.

--
Bob

------
Please do not send email directly to this alias. This alias is for newsgroup
purposes and is intended to prevent automated spam. I've been "encouraged"
to share this helpful information from our lawyers. This posting is provided
"AS IS" with no warranties, and confers no rights. You assume all risk for
your use. ? 2001 Microsoft Corporation. All rights reserved.

 
 
 

SQL Server 2000 And Access 97 - Write Conflict

Post by Bob Pfeif » Thu, 18 Oct 2001 00:15:02


This happens because of the way row versions are checked (what was fetched
back to Access vs. what's currently in the SQL Server) when you try to
update a row, certain datatypes in the underlying SQL Server table can cause
the versions to appear different even if no one else changed the data.  This
can be fixed by adding a timestamp column to the SQL Server table that will
then be used for row version comparison.  KB article Q278696 explains one of
the situations that causes your problem.

--
Bob

------
Please do not send email directly to this alias. This alias is for newsgroup
purposes and is intended to prevent automated spam. I've been "encouraged"
to share this helpful information from our lawyers. This posting is provided
"AS IS" with no warranties, and confers no rights. You assume all risk for
your use. ? 2001 Microsoft Corporation. All rights reserved.

 
 
 

SQL Server 2000 And Access 97 - Write Conflict

Post by Simon Li » Fri, 19 Oct 2001 18:49:07


In most cases, the error message is caused by the database corruption. You
may take a look at these articles:

ACC97: How to Repair a Damaged Jet 3.5 Database               [accesskb]
ID: Q279334
http://support.microsoft.com/support/kb/articles/q279/3/34.asp

ACC97:  How to Troubleshoot Corruption in an Access Database  [accesskb]
ID: Q306829
http://support.microsoft.com/support/kb/articles/q306/8/29.asp

Hope this helps!

--- Simon Liao

Please reply only to the newsgroups. When posting, inclusion of SQL (CREATE
TABLE ..., INSERT ..., etc.) which can be cut and pasted into Query
Analyzer is appreciated.

This posting is provided "AS IS" with no warranties, and confers no rights.
You assume all risk for your use.  2001 Microsoft Corporation. All rights
reserved.

 
 
 

1. Write conflict error when updating data from SQL Server 7.0 in Access 97

Hi all, I'm using Access 97 as SQL Server 7.0 front end. I've install
SQL
Server 7.0 client on my development pc and connect to SQL Server 7.0 on
a server using ODBC. I've created System DSN in ODBC connected to one
database.

In my Access mdb file, I've link a few tables from the database in SQL
Server 7.0. When I try to update record in the table's datasheet view,
the error "Write conflict" appear and given choises to Copy the data to
clipboard or drop changes and the Save Record button is grey off.

Also, some of the data like Currency field does not appear in Access but
appear in SQL Server.
Can anyone help me?

Thanks in advance for any help.

--== Sent via Deja.com http://www.deja.com/ ==--
---Share what you know. Learn what you don't.---

2. How to convert the .dbf database file to mdb.

3. Write Conflict Error-Access 2000 SR-1 Link Tables to SQL Server 2000

4. How to ID the edition of SS2K

5. SQL Server Porting

6. Access 97 & SQL 7.0 - Write Conflicts

7. informix-4gl source code beautifier

8. Access Data Project SQL Server 2000 write conflict

9. Write Conflict Errors with Access 2000 and SQL Server 7

10. Microsoft Access 97 Write Conflict

11. Upsize Access 97 to SQL 2000 without SQL 7 or Access 2000

12. Write conflict - Access 2000 Mainform/Subform - SQL 7.0