Share via

Access/SQL Write Conflict Error

Anonymous
2010-07-28T12:36:34+00:00

I am using Access 2007 as the frontend to a SQL table.  I can write a record to the table but I can not modify the record.  I get a Write Conflict error (This record has been changed by another user since you started editing it........ Copy to clipboard or drop changes).

I have received the error when I am the only person using the table.  What am I missing?

Thanks

Microsoft 365 and Office | Access | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

  1. Anonymous
    2010-07-28T15:01:52+00:00

    On Wed, 28 Jul 2010 14:17:24 +0000, John P Spencer [MVP] wrote:

    >Can you modify the table (or have it modified)?  If so try adding a field to the table(s) of the type TimeStamp.  The problem is that with certain versions of MS SQL Server, you can get the error you see unless you have the TimeStamp field.

    Yes.  In later versions of SQL Server the TimeStamp data type is now

    called RowVersion (a much more accurate name), although TimeStamp is

    still supported as an alternate.

    The write conflict can be caused by Bit fields with Null values, or by

    floating point data types.  If you avoid both of those, you should be

    fine without needing RowVersion.  For example, we don't use floating

    point data types, and we use SmallInt instead of Bit for yes/no

    fields.

    If you want to use RowVersion, you merely need to add it to your table

    and relink.  It does NOT need to be referenced in your Access queries

    or forms.  ODBC uses it to check concurrency.

    There is a slight downside to using RowVersion, as it eliminates the

    possibility of partial-row concurrency checking.  I've included this

    topic in my slide deck called "Best of Both Worlds" at our free J

    Street Downloads page: http://ow.ly/M2WI.

    Armen Stein

    Microsoft Access MVP

    www.JStreetTech.com

    Was this answer helpful?

    5 people found this answer helpful.
    0 comments No comments

7 additional answers

Sort by: Most helpful
  1. Anonymous
    2013-04-12T18:25:23+00:00

    this doesn't work for me... i have no bit fields and my table has a timestamp.. any other suggestions?  i'm using sql server 2005 - acces 2010... this form worked using access 2007 but doens't now with access 2010..

    thanks!

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2012-08-17T09:49:21+00:00

    On Wed, 28 Jul 2010 14:17:24 +0000, John P Spencer [MVP] wrote:

    >Can you modify the table (or have it modified)?  If so try adding a field to the table(s) of the type TimeStamp.  The problem is that with certain versions of MS SQL Server, you can get the error you see unless you have the TimeStamp field.

    Yes.  In later versions of SQL Server the TimeStamp data type is now

    called RowVersion (a much more accurate name), although TimeStamp is

    still supported as an alternate.

    The write conflict can be caused by Bit fields with Null values, or by

    floating point data types.  If you avoid both of those, you should be

    fine without needing RowVersion.  For example, we don't use floating

    point data types, and we use SmallInt instead of Bit for yes/no

    fields.

    If you want to use RowVersion, you merely need to add it to your table

    and relink.  It does NOT need to be referenced in your Access queries

    or forms.  ODBC uses it to check concurrency.

    There is a slight downside to using RowVersion, as it eliminates the

    possibility of partial-row concurrency checking.  I've included this

    topic in my slide deck called "Best of Both Worlds" at our free J

    Street Downloads page: http://ow.ly/M2WI.

    Armen Stein

    Microsoft Access MVP

    www.JStreetTech.com

    Thanks a lot!!

    This worked for me. Thanks

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2012-07-18T01:04:02+00:00

    Thank you for your guidance. It worked for me too!

    Was this answer helpful?

    0 comments No comments