The NotinList below worked fine under Access 2003, but 2007 now displays a dialog box "Do you want to save changes to the design of the form "frmAddDelTics" and then the form "frmAddDelCust" opens. I can't see anything to correct and I dont understand what is causing the dialog box to ask if design changes are to be saved. Any ideas on how to correct this?
Private Sub UserID_NotInList(NewData As String, Response As Integer)
DoCmd.DoMenuItem acFormBar, acEditMenu, acUndo, , acMenuVer70
DoCmd.OpenForm "frmAddDelCust", acNormal, , , acFormAdd, acWindowNormal
DoCmd.Close acForm, "frmAddDelTics"
End Sub
Private Sub UserID_NotInList(NewData As String, Response As Integer)
DoCmd.DoMenuItem acFormBar, acEditMenu, acUndo, , acMenuVer70
DoCmd.OpenForm "frmAddDelCust", acNormal, , , acFormAdd, acWindowNormal
DoCmd.Close acForm, "frmAddDelTics"
End Sub