G
Guest
Does anybody have some sample code to allow me to open the .ldb file of the
current database running the code. I am running ACCESS 2000, and using ADO on
a local database stored on a network shared drive.
I need to view a list of the current users logged into the database from the
currently open database. The intention is to allow only one user to use the
database at a time. If I have the users open it exclusively, when another
user tries to log on it displays "W:\xxx\xxx\database.mdb is already in use".
I would like to open the .ldb file (or poll otherwise) the users, if there is
a current user then display "user: xxxx has the database open. Pleae try
again soon". That way the 2nd user can inquire the 1st if they are using the
database too long.
I tried the USER_ROSTER method but could not get it to work on the
currently open database.
Thanks for your help in advance.
current database running the code. I am running ACCESS 2000, and using ADO on
a local database stored on a network shared drive.
I need to view a list of the current users logged into the database from the
currently open database. The intention is to allow only one user to use the
database at a time. If I have the users open it exclusively, when another
user tries to log on it displays "W:\xxx\xxx\database.mdb is already in use".
I would like to open the .ldb file (or poll otherwise) the users, if there is
a current user then display "user: xxxx has the database open. Pleae try
again soon". That way the 2nd user can inquire the 1st if they are using the
database too long.
I tried the USER_ROSTER method but could not get it to work on the
currently open database.
Thanks for your help in advance.