Good morning,
I have question that I am unsure whether anyone can create a VBA code.
I have a shared database that is working fine by several users. Sometimes, a specific user needs to conduct a maintenance, which requires everyone to get out from the Access program.
I would like to create a simple procedure. For example, the menu might be called -> "check exclusive." This can be done with a click button.
If no one is using the database at that moment, except for that specific user, return the message -> "No one is using the database at this moment."
If there is one or more persons using the database, return with the message -> "Database is currently occupied." For the beauty of it, if I can have the user's names of the persons who are in the db, that will be fabolous. However, if it is too difficult, I am OK with it. This is not required.
Thank you for your time.
I have question that I am unsure whether anyone can create a VBA code.
I have a shared database that is working fine by several users. Sometimes, a specific user needs to conduct a maintenance, which requires everyone to get out from the Access program.
I would like to create a simple procedure. For example, the menu might be called -> "check exclusive." This can be done with a click button.
If no one is using the database at that moment, except for that specific user, return the message -> "No one is using the database at this moment."
If there is one or more persons using the database, return with the message -> "Database is currently occupied." For the beauty of it, if I can have the user's names of the persons who are in the db, that will be fabolous. However, if it is too difficult, I am OK with it. This is not required.
Thank you for your time.