Thanks, It is not the form's close button that is causing the problem, it is the MS Access window's close button that users inadvertently click to close a form, which when they do closes the data base instead. It is this I would like to prevent. So if you are exiting the application...