As any application accessing the database would itself cause a lock on
the .mdb file, I don’t think it would be possible with VBA code.
| You can use code from http://support.microsoft.com/kb/198755/EN-US/
to find a list of users connected to the database and if they are in a
suspect state.
| Failing all else you could write code to delete the .ldb file, but
this may cause more problems than it solves.
Comments¶
1. Eric R. **
programmatically, using VBA? | Is there a method such as schemaLock.ReleaseAll?
Thanks, –Eric
Reply2. geographika **
the .mdb file, I don’t think it would be possible with VBA code. | You can use code from http://support.microsoft.com/kb/198755/EN-US/ to find a list of users connected to the database and if they are in a suspect state. | Failing all else you could write code to delete the .ldb file, but this may cause more problems than it solves.
ReplyAdd Comment