I have a text box which has an EXIT event. This event is supposed to check for null in the text box and, if this is the case, to bring up a message box for the user to say that this is a mandatory field. CANCEL EVENT is used if the user has mistakenly forgotten to enter a value (so focus remains in this text box).<br>My problem is that the user may actually want to exit the form. However, when I try to attach docmd.close to the EXIT event I get run time error 2585 (can't perform this action whilst processing a form event.<br>So my question is "How can I close my form following the user response to the on_exit event?"<br><br>Many thanks