I have a text box that sets focus to one of two controls on a subform on losing focus. The form also has a cmd button (to exit the form). If it is clicked when the text box has focus, the onlostfocus property moves focus to the subform control rather than exitting. Any way to defeat the onlostfocus?