DB Lock (1 Viewer)

am_sarath

Registered User.
Local time
Today, 05:13
Joined
Sep 19, 2001
Messages
29
Hello,

the following is the procedure which I've written to open my db.

Set db = OpenDatabase(Application.CurrentProject.Path + "\myproject.mdb", False, False)

But,the database is getting locked and I am able to edit the forms and code before running this procedure.why is it happening?
could any one pls suggest me.

Thanks
sarath
 

Emohawk

What a wicked mullet...
Local time
Today, 05:13
Joined
Mar 14, 2002
Messages
79
Just use this instead, much easier and foolproof(ish)

Set db = CurrentDB
 

Users who are viewing this thread

Top Bottom