Page 2 of 2 FirstFirst 12
Results 16 to 21 of 21
  1. #16
    jo15765's Avatar
    jo15765 is offline Expert
    Windows 10 Access 2013 64bit
    Join Date
    Nov 2010
    Location
    6 Feet Under
    Posts
    672

    Quote Originally Posted by pbaldy View Post
    What's really curious is the error message. I'd expect a permissions or a read-only error depending on circumstances. I've never seen the write conflict error with a table opened directly and nothing else open. When you run the update query, it's an Access query against the linked table, or a pass through query running on the server?
    The update query is an access query against the linked table.

  2. #17
    jo15765's Avatar
    jo15765 is offline Expert
    Windows 10 Access 2013 64bit
    Join Date
    Nov 2010
    Location
    6 Feet Under
    Posts
    672
    It seems this issue occurred when I added a bit column to my SQL Server 2008 R2 table. (I have a copy of the table before I added that column, and when linked it no errors are thrown. BUT anytime I link in the table with the bit column it throws errors. The values for the bit column are either 0 or -1 and ALL columns have one of these two values.

    I added the bit column to hold the value of a checkbox - is there a different field type I should use for this? Access Interprets the field as a Yes/No type.

  3. #18
    Bulzie is offline VIP
    Windows 7 64bit Access 2007
    Join Date
    Nov 2015
    Posts
    1,511
    Maybe try Int? Search on "SQL numeric data types".

    Before you change datatype, make sure you have a good backup. Maybe just add a new field to that table and use an update query to copy over the values. Then try to change it in the new field to make sure it keeps the -1 and 0.

  4. #19
    jo15765's Avatar
    jo15765 is offline Expert
    Windows 10 Access 2013 64bit
    Join Date
    Nov 2010
    Location
    6 Feet Under
    Posts
    672
    Quote Originally Posted by Bulzie View Post
    Maybe try Int? Search on "SQL numeric data types".

    Before you change datatype, make sure you have a good backup. Maybe just add a new field to that table and use an update query to copy over the values. Then try to change it in the new field to make sure it keeps the -1 and 0.
    That resolved it!

    What is Access hangup with bit fields?

  5. #20
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,652
    Interesting. I link to tables with bit fields frequently. I always make sure the field has a default value though.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  6. #21
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 10 Access 2013 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,917
    I marked this thread as *Solved* for you using the *Thread Tools* at the top of the thread.
    https://www.accessforums.net/showthread.php?t=1828

Page 2 of 2 FirstFirst 12
Please reply to this thread with any new information or opinions.

Similar Threads

  1. Write Conflict?
    By batowl in forum Forms
    Replies: 4
    Last Post: 11-13-2014, 12:38 PM
  2. Write Conflict Help
    By jbailey4545 in forum Access
    Replies: 5
    Last Post: 01-24-2014, 02:25 PM
  3. Replies: 3
    Last Post: 08-06-2012, 03:29 PM
  4. Replies: 2
    Last Post: 02-11-2012, 09:41 AM
  5. Write Conflict After Update to 2010
    By cnelson in forum Access
    Replies: 5
    Last Post: 08-24-2011, 11:01 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums