Adam it might help to know why you don't want users to close Access through
the normal means.
If there is something you need to do when Access closes, you could keep a
hidden form open, and use its Unload event to simulate an Application Close
event. You can do anything you need to in that event, and work cooporatively
with Windows instead of trying to lock people out.
If you don't work with the normal Windows interface, your users will just
hit the power button and shut down anyway, corrupting your database in the
process.
I have a login form where users select their name and then the call forms
where they call the customers from. Everytime they open the form/go to a new
record a field 'RecordInUse' is set to 'Yes'. If they use the taskbar to
close the program the record will not be set to 'No'.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.