I have an audit trail/electronic signature/ undo feature built built with VBA into my Access forms. It runs on the BeforeUpdate event of the main form. The problem I am having though is that I do not want the audit trail stuff to fire when i am simply moving the focus from the main form to a subform on the main form. I only want it to go when i am changing records or actually leaving the form. Any hints on as to how I can avoid the before update event on the main form when switching the focus to the main form?