I've got an access database which is used by multiple users and on occasion i need exclusive use of it and have to do a bit of chasing around to get all other users to log out, does anyone know of an easy way to do this?
I mention this only in passing, and because I have found it to be very amusing.
I made a table called kick, with one record. A number field, defaulted to 0.
On the main form of the db, I reset the value to zero.
The main forms on timer event, set to repeat every 10 seconds checks to see if the value in Kick totals to anything but zero, and if it does, employes a wonderful vba command. Quit.
I would use it mostly so I could have exclusive access to update vba code, or change a report, but eventuly found it amusing to see other people wonder what happened.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.