I am a novice user of Access so please be patient with me. J I have a need to occasionally to “kick” users out of Access – for example if our database locks and I need to have everyone get out of the database so I can compact/repair it. At times a user has gone to lunch and is in the database. We use a front end and back end database. The users execute a batch file to use the front end database which puts a copy of the front end on their desktop. I found a posting online which is supposed to “kick” users out, but it isn’t working for me. Actually, this works and kicks ME out of the front end database, but doesn’t kick anyone else out.
This is what I did in our front end database:
1. Created a table and named it "tblLogout" which has one field -- a "Yes/No" field called "LogoutYesNo"
2. Created a form called frm_Logout
3. Created an unbound text box in the form and named it “txtMinsSecs”
4. Added the code in the form and set the form’s timer interval to 150.
5. To kick people out, I checked the "LogoutYesNo" field in "tblLogout"
6. I then run the form, which pops up the form with a countdown stating that the database will be shut down in 1 minute.
This works on MY computer only – it kicks me out of the front end. How can I get this to work on everyone’s front end copy? (I have attached a blank database with only the table and form included.)
Thank you.
This is what I did in our front end database:
1. Created a table and named it "tblLogout" which has one field -- a "Yes/No" field called "LogoutYesNo"
2. Created a form called frm_Logout
3. Created an unbound text box in the form and named it “txtMinsSecs”
4. Added the code in the form and set the form’s timer interval to 150.
5. To kick people out, I checked the "LogoutYesNo" field in "tblLogout"
6. I then run the form, which pops up the form with a countdown stating that the database will be shut down in 1 minute.
This works on MY computer only – it kicks me out of the front end. How can I get this to work on everyone’s front end copy? (I have attached a blank database with only the table and form included.)
Thank you.