D
Douglas J. Steele
There's no way to compact an open database.
You can add code to the database to log them out after a period of
inactivity (see http://support.microsoft.com/?id=210297 for one approach)
Another approach is to add a table to the database that holds a status flag.
You can set that status flag to indicate when all users should exit the
database. Check the status as you enter each form, and in, say, the Current
event of the commonly used forms.
Of course, one approach is to schedule the compacts to run in the middle of
the night, assuming no one's using it then.
FMS sells a couple of products that might be of use. Total Access Admin will
check who's got it, and allow you to prevent other users from entering it
http://www.fmsinc.com/products/Admin/index.asp while Total Visual Agent will
allow you to schedule compaction
http://www.fmsinc.com/products/agent/index.html
You can add code to the database to log them out after a period of
inactivity (see http://support.microsoft.com/?id=210297 for one approach)
Another approach is to add a table to the database that holds a status flag.
You can set that status flag to indicate when all users should exit the
database. Check the status as you enter each form, and in, say, the Current
event of the commonly used forms.
Of course, one approach is to schedule the compacts to run in the middle of
the night, assuming no one's using it then.
FMS sells a couple of products that might be of use. Total Access Admin will
check who's got it, and allow you to prevent other users from entering it
http://www.fmsinc.com/products/Admin/index.asp while Total Visual Agent will
allow you to schedule compaction
http://www.fmsinc.com/products/agent/index.html