Forum Discussion
Ian_Johnston_1948
Mar 04, 2024Brass Contributor
Access to Access
I am a single user using OneDrive and 365. All of a sudden Access says I can't save edits because there is another user. There isn't. Occasionally the file locking file can be seen in Explorer but I ...
George_Hepworth
Mar 04, 2024Silver Contributor
Where to? Mostly, what I laid out already.
OneDrive works for other types of files which do not require the type of sharing that Access accdbs require. (As mentioned, there are several good articles around the internet on the technical reasons.) You are using it as a single user? Put it on the local computer. If you need to use it on different computers at different locations, you could put a copy in OneDrive to download at those other locations, but running it should always be done locally to make life less hassle.
You call it a "calculator", which implies storing data is not the main focus.
OneDrive works for other types of files which do not require the type of sharing that Access accdbs require. (As mentioned, there are several good articles around the internet on the technical reasons.) You are using it as a single user? Put it on the local computer. If you need to use it on different computers at different locations, you could put a copy in OneDrive to download at those other locations, but running it should always be done locally to make life less hassle.
You call it a "calculator", which implies storing data is not the main focus.
Ian_Johnston_1948
Mar 04, 2024Brass Contributor
No, it is manipulating data and presenting it in an appropriate form. It is, in principle, a very simple application.
I have disconnected the internet so it is now on a single, local computer but it problem remains. There are no locking or other hidden files.
Thank you for your patience.
I have disconnected the internet so it is now on a single, local computer but it problem remains. There are no locking or other hidden files.
Thank you for your patience.
- George_HepworthMar 04, 2024Silver ContributorWhat problems, specifically, remain?
- Ian_Johnston_1948Mar 05, 2024Brass ContributorThe same: it will not save an edit, because it says there is another user - but it is not one that I'm aware of. Someone fiddling around in the cloud, maybe. I've tried everything the Microsoft assistant suggested until it asked me to change some scary looking software that is way out of my skill set.
- Ian_Johnston_1948Mar 05, 2024Brass ContributorSorry, specifically: when I try to save an edit of a form, it says there is another user and so my changes will not be saved. I have tried deleting the lock file when it takes a longer than usual time to delete itself.
- George_HepworthMar 05, 2024Silver ContributorPlease do not try to delete the lock file, i.e. the laccdb, except under one significant condition mentioned below. The lock file should be totally under the control of Access and deleting it with its corresponding accdb open would be a problem. The good news is that you should not even be able to delete it while its parent accdb is still open, so that's not highly likely.
Access creates it when the first user opens the accdb. Access closes it when the last active user closes it. That ensures when the shared accdb (in this case, that should be only the BE, by the way) is in use, Access can manage reads/writes to DATA. It also ensures that users can't change other objects like forms and VBA when more than one user has it open.
The only time I can see deleting an laccdb would be if the accdb crashed, or was closed abnormally, leaving the laccdb open with no parent accdb open. You might even have to reboot the computer to be able to delete it in that situation.
In other words, leave the laccdb alone except for dire problems.
- Ian_Johnston_1948Mar 05, 2024Brass ContributorAs of last night, exactly the same. I have tried copying everything into a new database, I have checked all the settings, I have turner the internet off, all to no avail. It is really odd. I'm beginning to suspect a cloud upgrade fault (desperate!). Is anyone else getting the same problems?