Results 1 to 7 of 7
  1. #1
    TOPSie is offline Competent Performer
    Windows 10 Access 2016
    Join Date
    Mar 2021
    Posts
    116

    2 users

    I am trying to support a highly bespoke Access system. The system has only two users with their own PCs running the same accdb and the data mdb on a server all in the same room.


    Some of the table are getting quite large (One at issue is 176000 records)
    Today (maybe earlier) the system is crashing (just disappears) when a complex query/update is performed on this table.

    I have tried it on my separate dev system without issue using the same mdb. And after rebooting the users PC and doing a bit of debugging it is now working.

    I suspect that the issue only occurs when the two users are in the same area of the database.

    The area of "database sharing" is a bit of mystery, can anyone give me any pointers?

    Many thanks

  2. #2
    Join Date
    Jan 2017
    Location
    Swansea,South Wales,UK
    Posts
    5,016
    Each user should have their own FE and be linked to the BE.?

    Is that the case with your setup?
    Please use # icon on toolbar when posting code snippets.
    Cross Posting: https://www.excelguru.ca/content.php?184
    Debugging Access: https://www.youtube.com/results?sear...bug+access+vba

  3. #3
    TOPSie is offline Competent Performer
    Windows 10 Access 2016
    Join Date
    Mar 2021
    Posts
    116
    Yes sorry - I said each PC has the same accdb - I should have said each PC has a copy of the same accdb - they share access to a single mdb on a server.

    Is thi something to do with record locking? The mdb currently has Default record locking = No locks, but then a set of values in the "Open database by using record level locking ???

  4. #4
    Join Date
    Jan 2017
    Location
    Swansea,South Wales,UK
    Posts
    5,016
    TBH, I have always left my DB's as Shared and No locks, which appears to be the default.
    Then again, i could not say for certain that anyone would work on the same record as another user.?
    Please use # icon on toolbar when posting code snippets.
    Cross Posting: https://www.excelguru.ca/content.php?184
    Debugging Access: https://www.youtube.com/results?sear...bug+access+vba

  5. #5
    Micron is online now Virtually Inert Person
    Windows 10 Access 2016
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    12,824
    You compact/repair this db regularly and have done so to see if that remedies this issue? 176K records isn't really all that many and is usually the cause of slowing down, not crashing. I suspect Access doesn't like something about what seems to be the one query that causes this. Perhaps the debugging you did will solve that problem. If your post is about db sharing then you've got the right setup and it seems you're not using wifi or a wan for this, so all good there. Methinks your main issue was/is that "complex" query.
    The more we hear silence, the more we begin to think about our value in this universe.
    Paraphrase of Professor Brian Cox.

  6. #6
    Join Date
    May 2018
    Location
    Living in Scotland UK
    Posts
    1,572
    Is the Db split into a FE and BE ?
    You can PM me if you need further help.
    Good Reading https://docs.microsoft.com/en-gb/off...on-description

  7. #7
    Emmanuel is offline Competent Performer
    Windows 10 Access 2016
    Join Date
    Jan 2020
    Posts
    272
    Do check if your database has attachments. Because tables with attachments like pictures or documents do make the data grow so fast

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

Similar Threads

  1. Replies: 5
    Last Post: 02-15-2018, 03:11 AM
  2. Help for Multiple Users
    By bronson_mech in forum Access
    Replies: 3
    Last Post: 08-11-2013, 12:48 PM
  3. Can users set their password?
    By ashu.doc in forum Security
    Replies: 6
    Last Post: 10-07-2012, 09:58 PM
  4. Multiple Users
    By alyon in forum Access
    Replies: 5
    Last Post: 05-01-2012, 09:30 AM
  5. Users
    By Faisal6309 in forum Access
    Replies: 1
    Last Post: 03-07-2012, 04:39 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