Results 1 to 11 of 11
  1. #1
    Ruegen's Avatar
    Ruegen is offline VIP
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jul 2013
    Location
    Australia
    Posts
    1,496

    Write conflict errors and how to manage

    Occasionally the users in our database will try to open and edit the same record (admin might be editing the record, ask the user to open their record and then the problem occors)



    I get ########### errors on some fields, it locks everybody out, I have to do a compact and repair.

    I get the message first like in the link

    http://support.microsoft.com/kb/304181

    I'd like to know how to avoid this, how to handle this, how to get away from database corruption etc.

    advice?

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,913
    Don't let both edit the same record. One can edit and the other can view at same time.

    Is this a split db?

    I've never had lockout with split db.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    Ruegen's Avatar
    Ruegen is offline VIP
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jul 2013
    Location
    Australia
    Posts
    1,496
    Quote Originally Posted by June7 View Post
    Don't let both edit the same record. One can edit and the other can view at same time.

    Is this a split db?

    I've never had lockout with split db.
    Yes, assuming you mean split db means more than one user uses the database?

  4. #4
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,913
    Split means two files - frontend and backend.

    Backend has data tables and sits on a common file server.

    Frontend is user interface to data - has queries, forms, reports, code, and links to backend tables.

    Each user has a copy of the Frontend on their workstation.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  5. #5
    Ruegen's Avatar
    Ruegen is offline VIP
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jul 2013
    Location
    Australia
    Posts
    1,496
    Quote Originally Posted by June7 View Post
    Split means two files - frontend and backend.

    Backend has data tables and sits on a common file server.

    Frontend is user interface to data - has queries, forms, reports, code, and links to backend tables.

    Each user has a copy of the Frontend on their workstation.
    Yup. That's our setup.

    Each user has a 14MB front end and the backend is 150 odd mb

  6. #6
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,913
    Has been a couple times two users tried to edit same record and generated an error but no lockout, just didn't save edits and one user had to redo theirs. Our work flow makes this very difficult to occur.

    There really should not be any issue with a second user just viewing the record. If there is some code that is trying to edit the record, that will produce same impact as a user manually editing.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  7. #7
    Ruegen's Avatar
    Ruegen is offline VIP
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jul 2013
    Location
    Australia
    Posts
    1,496
    Quote Originally Posted by June7 View Post
    Has been a couple times two users tried to edit same record and generated an error but no lockout, just didn't save edits and one user had to redo theirs. Our work flow makes this very difficult to occur.

    There really should not be any issue with a second user just viewing the record. If there is some code that is trying to edit the record, that will produce same impact as a user manually editing.
    I thought it might be something like that. Generally every staff member has their own area of records, they can view other schools when searching (in case they receive a random call) but generally are restricted to their own areas to call.

    Admin from time to time will go in and edit. It may be that there is some autocode when the record is opened and then when admin asks staff to open the same record that is when the conflict occurs.....?

  8. #8
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,913
    Yes, but it is the ######### and lockout I find odd. That has never happened to us.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  9. #9
    Ruegen's Avatar
    Ruegen is offline VIP
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jul 2013
    Location
    Australia
    Posts
    1,496
    Quote Originally Posted by June7 View Post
    Yes, but it is the ######### and lockout I find odd. That has never happened to us.
    one of the users opened a record, err in memo field of the form then when I edited the record the field had wiped the data in the field and replaced it with ##########

    I cleared it and pasted data from a backup.

    I was told this used to happen to the old database from time to time from which most of the data has come from...

  10. #10
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,913
    What was 'old database'? Earlier Access version?

    This is mysterious.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  11. #11
    Ruegen's Avatar
    Ruegen is offline VIP
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jul 2013
    Location
    Australia
    Posts
    1,496
    Quote Originally Posted by June7 View Post
    What was 'old database'? Earlier Access version?

    This is mysterious.
    Yes old 2000. Most of the data is imported using append though so they should be new tables...

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Write conflict
    By IslandHydro in forum Programming
    Replies: 4
    Last Post: 10-25-2013, 09:30 AM
  2. write conflict error
    By nyneave in forum Security
    Replies: 1
    Last Post: 10-13-2012, 06:17 PM
  3. Write Conflict
    By sah in forum Forms
    Replies: 8
    Last Post: 04-25-2012, 07:19 AM
  4. Write Conflict Errors with SQL-Access DB
    By trb5016 in forum Access
    Replies: 5
    Last Post: 01-14-2010, 02:10 PM
  5. Write Conflict Error
    By botts121 in forum Access
    Replies: 5
    Last Post: 09-25-2009, 12:11 PM

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