Results 1 to 6 of 6
  1. #1
    brian11670 is offline Novice
    Windows 10 Access 2013 64bit
    Join Date
    Aug 2019
    Posts
    7

    Looking for the Best way to handle record locking

    I am creating a MS Access frontend with sql server backend and I am looking for the best way to handle when multiple users will be access the same worklist.

  2. #2
    CJ_London is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,430
    Provide each user with their own copy of the front end

  3. #3
    brian11670 is offline Novice
    Windows 10 Access 2013 64bit
    Join Date
    Aug 2019
    Posts
    7
    Thanks CJ_London.
    Once I provide each user with a copy of the front end what's the best way to handle record locking?

  4. #4
    CJ_London is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,430
    should happen automatically with the standard settings, using bound forms with DAO connecting via ODBC. With ADO you need to specify - but that depends on what you are doing

  5. #5
    Minty is offline VIP
    Windows 10 Office 365
    Join Date
    Sep 2017
    Location
    UK - Wiltshire
    Posts
    3,003
    To back up what CJ is saying, SQL server will handle the locking more than adequately with the standard settings unless you are doing something either Daft or very Non-standard.
    DLookup Syntax and others http://access.mvps.org/access/general/gen0018.htm
    Please use the star below the post to say thanks if we have helped !
    ↓↓ It's down here ↓↓

  6. #6
    Join Date
    Jun 2010
    Location
    Belgium
    Posts
    1,044
    If you need other than standard locking : use passthrough queries. There you can add hints like with (UPDLOCK) or with (NOLOCK) or you can set the isolation level in the statement.
    https://learn.microsoft.com/en-us/sq...l-server-ver16

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

Similar Threads

  1. Replies: 9
    Last Post: 12-08-2021, 02:40 AM
  2. Replies: 3
    Last Post: 04-18-2018, 09:02 PM
  3. Replies: 3
    Last Post: 11-01-2013, 10:16 AM
  4. Record Locking
    By nyAccess in forum Database Design
    Replies: 4
    Last Post: 07-17-2011, 05:40 AM
  5. Record Locking
    By jlclark4 in forum Database Design
    Replies: 10
    Last Post: 06-15-2011, 02:22 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