Hi
You could try checking the Form.Dirty property when closing the DB. I'm not sure where to put this from your description, but the process steps would be:
In the Application Close procedure, set a flag e.g. 'flgClosing'.
In your other events, test the setting of the flag and the form's Dirty...