Hello,I have an Access 2007-2010 database that on one of the forms, there is a "Finish" button. The form is set up to select from dropdown boxes and/or enter amounts for different categories of things. If you have entered data in the form and you click on the "finish" button then the form should close. If you did not enter/choose any drop down data then when you click the "finish" button a message box should come up. I have this all working except that when there is an error and the message box comes up, when you click ok it does not go away, ever. You have to cntrl break to get past the message box. Here is the code for the "finish" button.
Private Sub Command32_Click()
On Error GoTo Err_Command32_Click 
   If Me.Dirty Then 
Me.Dirty = False 
   DoCmd.CloseExit_Command32_Click: 
   DoCmd.Close "EODDailyCalc", acDefault 
   Exit Sub
Err_Command32_Click: 
   MsgBox "You did not complete the form, nothing will be saved" 
   Resume Exit_Command32_Click
End Sub
Thanks in advance for the help!JoanneA