Share via

Sharing Access databases

Anonymous
2021-04-14T11:11:54+00:00

I've created a very simple database for my wife to use on one of her projects; just a couple of tables and a few forms. It's saved on my OneDrive and I've shared the file with my wife's account.

If I go to my wife's laptop, the file is in her shared folder but when i try to open it by double clicking on it, it is downloaded rather than opened. Any changes made to the tables are then not reflected in the original, shared file.

I'm a 365 Family subscriber.

I'm sure there must be a very simple explanation but I can't work out what I'm doing wrong!

Microsoft 365 and Office | Access | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

5 answers

Sort by: Most helpful
  1. ScottGem 68,810 Reputation points Volunteer Moderator
    2021-04-17T13:07:50+00:00

    Yes the explanation is simple. Access does not work well with OneDrive.

    The answer is to link your computers in a network. I suspect that you have a wireless router that your computers are connected to. So just set to share a folder on one or the other machine or get a NAS drive. 

    Then split the Access database and install the back end in the shared folder and the front end on each PC. Then you can share the back end and both work on it.

    1 person found this answer helpful.
    0 comments No comments
  2. Anonymous
    2021-04-15T03:03:02+00:00

    Well, actually if you open a Excel file, or word file?

    It is also downloaded. You can then make changes. And then when you save, it is sent back up to that "drive in the sky".

    The only real difference? Is word, or say power-point is a WHOLE document that you can modify. So the load from that drive in the sky, and the save is automatic. (because the WHOLE file is in your computers memory).

    Access is different. It requires that the file be on your drive. And when you update a ONE row, then only PART of the file is modified. So it has to run on your local drive as a copy.

    However, if during the time you edit that Excel file, or word file? And someone else opens that file? Then the last person out and saving that file WILL over write everyone's changes.

     so, really not a lot different here. The only real change is that during operation, Access needs that local file. When you are done you can save it back up to that shared drive - and just like Excel or whatever? The last person out is going to over-write everyone's changes.

    As noted, Word or Excel works somewhat better, since it ALWAYS loads the whole file into memory. Access does not. This is why the time to open a file with 2 rows, or a file with 1 million rows of data is the same! Access files are opened, and THEN you can pull or edit data from inside that file - and unlike word/excel etc.? Access does not load the whole file and lets you modify say ONLY one row of data. it works this way for reasons of performance, since then you can update 1 row of data out of 1 million rows, and it will occur instant.

    In say word, or Excel? You can't modify just ONE row - you have to load the WHOLE document, and you change that one tiny row, and then you save the  WHOLE file again.

    But, Access does not load the file into memory - hence it requires that you have a local copy. Of course once done, you can then re-save back up to that drive. So what is somewhat different is access does not load + save the file to/from that drive for you - it needs a local copy to use + work against while you make changes. Once you are done, and close the file, then you can save it back up to the drive.

    due to the above? Then more then one user can't work on or edit that Access file at the same time. however, on a local network? You can have more then one user working at the same time on that one file - it is allowed. 

    Regards,

    Albert D. Kallal (Access MVP 2003-2017)

    Edmonton, Alberta Canada

    1 person found this answer helpful.
    0 comments No comments
  3. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

  4. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

  5. Anonymous
    2021-04-14T11:20:56+00:00

    You should not run or share an Access database on any online drive (OneDrive, Dropbox, GoogleDrive, ...).  Access does not work over the Internet, WANs, and/or wireless networks reliably.

    Either you need to download it locally, do your work and then upload the updated version or you need to use an alternate sharing approach such as those elaborated in https://www.devhut.net/2016/09/24/access-back-end-location-wan-online-server-onedrive-dropbox/

    0 comments No comments