c02dm
Registered User.
- Local time
- Today, 18:11
- Joined
- Apr 12, 2005
- Messages
- 18
I want to enter a name in a text box and if it can't be found in the list box then it returns a message box saying that. I've tried this code but it doesn't work. Can anyone help?
Private Sub txtLetters_AfterUpdate()
If lstSubOrder = Null Then
myOKBox ("The customer cannot be found")
Else
lstSubOrder.Requery
End If
End Sub
Private Sub txtLetters_AfterUpdate()
If lstSubOrder = Null Then
myOKBox ("The customer cannot be found")
Else
lstSubOrder.Requery
End If
End Sub