N
Nick X
Hi all,
I added a custom msgbox to the notinlist event of a combo box, but I can't
figure out how to get rid of the built in error message.
Private Sub cboAddress_NotInList(NewData As String, Response As Integer)
MsgBox "The address you typed is not in the city." & Chr(13) & "Please
check the spelling. If address should be in list, please call:" & Chr(13) &
"Joe Blow at 333-0000 or e-mail (e-mail address removed)", , "Not in List"
Me!cboAddress.Value = ""
End Sub
I would like to do this in code because I will be sharing it with other
programmers throughout the organization
Access 2002 SP3
I added a custom msgbox to the notinlist event of a combo box, but I can't
figure out how to get rid of the built in error message.
Private Sub cboAddress_NotInList(NewData As String, Response As Integer)
MsgBox "The address you typed is not in the city." & Chr(13) & "Please
check the spelling. If address should be in list, please call:" & Chr(13) &
"Joe Blow at 333-0000 or e-mail (e-mail address removed)", , "Not in List"
Me!cboAddress.Value = ""
End Sub
I would like to do this in code because I will be sharing it with other
programmers throughout the organization
Access 2002 SP3