I'm sorry, but I have never seen that issue, probably
because I don't use ADO. I mistook your question to be
something else altogether.
Maybe someone else has an idea that might help.
--
Marsh
MVP [MS Access]
J said:
I'm sorry I didn't mean save the database to a separate file, I meant save
all changes to the database.
Maybe I can clarify my problem a little bit.
I have the access database open (which contains frontend and backend).
I then have ado code that attempts to connect to the database, this works
fine UNLESS I've been writing some vba code in access. In which case I will
get the following error.
"The database has been placed in a state by user 'Admin' on machine
'mycomputer' that prevents it from being opened or locked."
I assumed that this problem was caused by the fact that I had unsaved
changes in the database and that if I could figure out a way to
programmatically save the database if it was open then this problem would go
away.