Results 1 to 4 of 4
  1. #1
    sabukaru is offline Novice
    Windows 10 Office 365
    Join Date
    Mar 2022
    Posts
    5

    DB in SharePoint, when multiple users edits, OneDrive can't merge changes. Even tho DB was split.

    Probably an often ocurring (if not fundamental) problem in databases, but I am new to this.

    I have a simple database with one table. As recommended by Microsoft, I split the db into one backend db, wich lives in a shared SharePoint folder, and multiple frontend db's, one for each user.

    Everything works fine, but here's is the problem: Because it takes a few seconds for Access to update edits at all ends, if say User A adds a record and User B adds a record too, but does so before User A's edit gets reflected in User B's machine, OneDrive can't merge the changes and a secondary Access database gets created.

    Before, I had my VBA application connected directly to the Access database in SharePoint (no split). I figured splittig the database would take care (or at least minimize) problems like this. But it seems that that is not the case.

    Any suggestions into how to better handle this? Any help greatly appreciated. Thank you.

  2. #2
    Micron is offline Virtually Inert Person
    Windows 10 Access 2016
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    12,801
    Just about everyone here will tell you that you are taking a great risk if you are trying to use an Access db over wifi or OneDrive (or similar). OD with Access and the transfer of data packets back and forth is a risky venture. IMO, OneDrive is for storing files that you download, work on, then upload as a changed file or as a backup drive. If this is happening because you need to work remotely, there are other options, such as Terminal Services (name might have changed) or Citrix. I'm sure others who are more knowledgeable about this will chime in.
    Last edited by Micron; 03-11-2022 at 08:32 AM. Reason: clarification
    The more we hear silence, the more we begin to think about our value in this universe.
    Paraphrase of Professor Brian Cox.

  3. #3
    sabukaru is offline Novice
    Windows 10 Office 365
    Join Date
    Mar 2022
    Posts
    5
    Thanks Micron. Yeah... for this reason I have built a few workarounds in the VBA. For example, pinging to google.com before making changes to the db, etc.

    Since this is only for a few user (3-4), will only be updated a few times a month, and the vulnerability is open only for a few seconds, I'm going to risk it and see what happens. If it is too much to handle then I'll see what else I can do.

    Thank you for your help and any other suggestions always welcome!

  4. #4
    Micron is offline Virtually Inert Person
    Windows 10 Access 2016
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    12,801
    Make sure you do regular backups - at least daily, I would say. Depends on how much data loss you want to risk.
    The more we hear silence, the more we begin to think about our value in this universe.
    Paraphrase of Professor Brian Cox.

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

Similar Threads

  1. Split database that won't allow multiple users
    By LLf060787 in forum Database Design
    Replies: 7
    Last Post: 03-18-2021, 10:49 AM
  2. Replies: 1
    Last Post: 04-26-2018, 01:41 PM
  3. Split Database but no edits can happen
    By DavidMcA18 in forum Access
    Replies: 7
    Last Post: 03-19-2018, 07:39 AM
  4. Replies: 4
    Last Post: 08-22-2014, 10:34 AM
  5. Replies: 62
    Last Post: 01-28-2014, 06:24 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