Hi, against my better judgement I have had to use Microsoft Access 2000 to store information for an app that I am writing.
When I go to do an update I receive the following error
"Could not save; currently locked by another user"
I close all connections/ destroy all objects to do with the database as soon as I finish with them so there * is no way * anyone is still connected to the database. Also, I am the only one using the database.
If I wait a few minutes the *.ldb file automatically disappears and then I can update the database without the error appearing.
Any help appreciated
Cheers
Mark
PS. Connection string below is what I am using to connect to the database
VB Code:
Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\_Databases\myCrapAccessDatabase.mdb;Persist Security Info=False
================
Hi, I have just flagged Access as being the crap database that it is and have gone back to using SQL server. Things are all working fine now. Thanks for everyones help
Cheers
Markus




Reply With Quote