I am in the process of creating a VB application that will use the Jet Engine to connect to many MDB files (access). My question is: how do I ensure that when one workstation connects to a specific MDB file, another workstation that tries to connect to the same file will be locked? I read somewhere that there is VB code that i can use. Much appreciated to anyone who can help me out. Thanks in advance, and more to come upon a reply, Adam.