wizardchef
Technical User
I have a subform in an Access window where I enter a name into a form field (drop-down box) and that name gets matched to names drawn from the database table. If there is no match and I delete the incorrect name and then hit the Cancel button, which is a simple:
Private Sub Cancel_Click()
DoCmd.Close acForm, "Search for Client", acSaveYes
End Sub
I get a popup error message that tells me that there is an error with the entered data type, although all text has been deleted. What can I do to clear or override or correct this message?
Private Sub Cancel_Click()
DoCmd.Close acForm, "Search for Client", acSaveYes
End Sub
I get a popup error message that tells me that there is an error with the entered data type, although all text has been deleted. What can I do to clear or override or correct this message?