Try to open the database in exclusive mode and install an error handler:
set db = opendatabase("Db.mdb", True)
If it fails someone has opened the database.
Printable View
Try to open the database in exclusive mode and install an error handler:
set db = opendatabase("Db.mdb", True)
If it fails someone has opened the database.
the previous sujection worked......
But i think ur one is more of a proffecional approach cause if the db crashed it would'nt delete the LDB file
Thanks
Ill give it a try