thomas.dickens
New member
- Local time
- Today, 19:35
- Joined
- Sep 15, 2025
- Messages
- 4
Hi there
New to the forum. I am by no means a programmer, but I have built a couple of databases for my work and have a reasonable grip on the fundamentals. Most of it is self taught though, meaning I could easily have some bad habits.
I am having a massive issue with a database that I have built for one of our departments. Put simply, a record-locking file keeps getting 'stuck', forcing the database into a read-only format. This manifests in a couple of ways - either the user will all of a sudden see 'NAME?' instead of data on a datasheet, or when a user tries to open one of the available forms from the main menu (launching vba code that runs a series of queries followed by a form, including notably 1+ update queries), they will get an error message suggesting the action isnt possible. During this time, if I try to open the back end database, it can will automatically open in read-only format.
It has been hard to track down the cause of this issue, but it usually seems to be when either one of the front end files has crashes and the user has had to force close the database, or it could also have been caused when a user has closed their laptop/logged off without closing the database properly.
When looking at the back end file, I can see there is a record locking file. I have tried to delete this from my computer (making sure no users are in the database) and the users' computers. the file seems to disappear but it will return once you refresh file explorer.
I do not have specifics, but in almost every instance, the file will remain in read-only format until we return to the office the next day, where it seems to have sorted itself out. This leads to a lot of down time, and the issue seems to be cropping up more and more regularly.
I am wondering if anyone has experience with this sort of issue. I have read that this may be an issue with Access DBs with a BE that sits on the network, and that migrating to a SQL server would improve things. I have no experience with this, but looks quite doable. The only issue is our IT department (which I would need for downloading the relevant programs) claims to not be available for the next few weeks and that is too slow a turn around time.
Database details: the database is split, with the back end being held in a shared network folder. Each user has their own front end file. These were initially kept on the same network with no issue. I more recently had the users save a copy of their file to their desktop (as seems to be best practice) but the instances of the above issue seemed to get worse, so I have actually reverted to the users accessing their front end file from the network. As far as I can tell, each user has the necessary permissions to modify, read/write etc the files and the folders they are in. EDIT: there could be up to 5 users but in practice there are usually max 3 simultaneous users.
Any thoughts would be much appreciated!! I am hoping there is a fix I can implement myself without yet having to migrate to sql server.
New to the forum. I am by no means a programmer, but I have built a couple of databases for my work and have a reasonable grip on the fundamentals. Most of it is self taught though, meaning I could easily have some bad habits.
I am having a massive issue with a database that I have built for one of our departments. Put simply, a record-locking file keeps getting 'stuck', forcing the database into a read-only format. This manifests in a couple of ways - either the user will all of a sudden see 'NAME?' instead of data on a datasheet, or when a user tries to open one of the available forms from the main menu (launching vba code that runs a series of queries followed by a form, including notably 1+ update queries), they will get an error message suggesting the action isnt possible. During this time, if I try to open the back end database, it can will automatically open in read-only format.
It has been hard to track down the cause of this issue, but it usually seems to be when either one of the front end files has crashes and the user has had to force close the database, or it could also have been caused when a user has closed their laptop/logged off without closing the database properly.
When looking at the back end file, I can see there is a record locking file. I have tried to delete this from my computer (making sure no users are in the database) and the users' computers. the file seems to disappear but it will return once you refresh file explorer.
I do not have specifics, but in almost every instance, the file will remain in read-only format until we return to the office the next day, where it seems to have sorted itself out. This leads to a lot of down time, and the issue seems to be cropping up more and more regularly.
I am wondering if anyone has experience with this sort of issue. I have read that this may be an issue with Access DBs with a BE that sits on the network, and that migrating to a SQL server would improve things. I have no experience with this, but looks quite doable. The only issue is our IT department (which I would need for downloading the relevant programs) claims to not be available for the next few weeks and that is too slow a turn around time.
Database details: the database is split, with the back end being held in a shared network folder. Each user has their own front end file. These were initially kept on the same network with no issue. I more recently had the users save a copy of their file to their desktop (as seems to be best practice) but the instances of the above issue seemed to get worse, so I have actually reverted to the users accessing their front end file from the network. As far as I can tell, each user has the necessary permissions to modify, read/write etc the files and the folders they are in. EDIT: there could be up to 5 users but in practice there are usually max 3 simultaneous users.
Any thoughts would be much appreciated!! I am hoping there is a fix I can implement myself without yet having to migrate to sql server.