Subject: Open external DB in MS Access VB problem
Posted By: Derek_05 Post Date: 1/3/2006 12:42:08 PM
Hi there,

I would like to ask whether it is possible to bypass the lock on an external DB that is being used by another person. I am trying to achieve this through GUI using VB.

I am asking this because I can open that DB manually by double clicking on it (it being locked still, with the .ldb file present in the same dir. as the DB), but when the VB code tries I get the follwing error message:

Runtime Error '3356':
You attempted to open a database that is already opened exclusively by user <name> on machine <name>. Try again when the database is available.


Any help or advice would be very much appreciated, Thank you for your help and time.

Kind regards

Derek

Reply By: AccessMaster Reply Date: 1/21/2006 2:51:17 AM
You need to get the other users to open the database in "shared" mode. Then multiple users can open the database at the same time.

Boyd
"Hi Tech Coach"
Access Based Accounting/Business Solutions developer.
http://www.officeprogramming.com

Go to topic 38206

Return to index page 389
Return to index page 388
Return to index page 387
Return to index page 386
Return to index page 385
Return to index page 384
Return to index page 383
Return to index page 382
Return to index page 381
Return to index page 380