Question : halt access close if form is open

Hi.  I have a number of access 2000 databases with a number of forms that rely on a button click event to run various code and then close the form.  I'm having an issue with my users taking shortcuts and closing access using the "Program"  min/max/close button instead of closing each form properly.  I do have the forms themselves locked down but can't find a good way to lock the program close "X".  I did find this : http://www.mvps.org/access/general/gen0005.htm but it only halts at the last open form, rather than the 1st open form.  Any ideas how to either lock this down or halt access closing at the first open form?  thanks

Answer : halt access close if form is open

see this link for another way

How to disable the Close button on the Application window and the Exit command on the File menu
http://support.microsoft.com/?kbid=300688
Random Solutions  
 
programming4us programming4us