G
Guest
Hi Everyone,
I am having an error message with some module on an access program that I am
creating. I am using ADO for data access to the tables in the database. In
each module, I open a connection, associate a recordset to the open
connection, close the recordset and finally the connection. But from time to
time ms access display the following message:
Error# -2147467259. The database has been placed in a state byuser 'Admin'
on machine 'SERVER01' that prevents it from being opened locked.
Whenever this error occurs, I have sometimes to totally close the database
and reopen it. Can anyone tell me how I can manage this error
programmatically so that I don't have to close the database every time?
I am having an error message with some module on an access program that I am
creating. I am using ADO for data access to the tables in the database. In
each module, I open a connection, associate a recordset to the open
connection, close the recordset and finally the connection. But from time to
time ms access display the following message:
Error# -2147467259. The database has been placed in a state byuser 'Admin'
on machine 'SERVER01' that prevents it from being opened locked.
Whenever this error occurs, I have sometimes to totally close the database
and reopen it. Can anyone tell me how I can manage this error
programmatically so that I don't have to close the database every time?