K
Keith Willcocks
I am using some Combo Boxes and in a number of them I am using the NotInList
property to bring up a customised message box. This works fine but my
message box is followed by another automatic one giving the standard error
message. How can I prevent this second message box from appearing? I am
sure that I am probably overlooking the obvious.
Here is an example of the code:
Private Sub cboMRproductType_NotInList(NewData As String, Response As
Integer)
MsgBox ("Selection not recognised, you must select an item from the
list. To abandon the record click Cancel.")
End Sub
property to bring up a customised message box. This works fine but my
message box is followed by another automatic one giving the standard error
message. How can I prevent this second message box from appearing? I am
sure that I am probably overlooking the obvious.
Here is an example of the code:
Private Sub cboMRproductType_NotInList(NewData As String, Response As
Integer)
MsgBox ("Selection not recognised, you must select an item from the
list. To abandon the record click Cancel.")
End Sub