"Br@dley" <no@email.com > wrote in message
news:41******** **@news.melbour ne.pipenetworks .com...
John Ortt wrote: How do you use that command Trevor? I.E. Where does the users ID No
get inserted?
Thanks in Advance,
John
It doesn't. The application simply closes and reopens. The user then has
to log in as usual.
Bradley
Sorry Bradley,
I misunderstood your original question. I was looking for a tool which
would log users off remotely to allow me to perform updates on the database
without the potential for record locks etc.
I am currently doing this with a logout table. Essentially the table has one
record and a tick box. The value stored in the tickbox is loaded onto a
hidden form when the user opens the database and refreshed every 5 minutes.
If the Logout value is changed to true the code automatically flashes a
splash screen explaining that the database is being closed for maintenance
and all the users are logged out within 5 minutes.
The drawbacks with this system are that it is not immediate, it consumes a
small amount of resource to keep refreshing and it is possible to circumvent
and/or disable (through the use of Modal forms or the Shift key when opening
the database etc.).
Thanks anyway,
John