EleanorG
Registered User.
- Local time
- Today, 11:40
- Joined
- Oct 12, 2001
- Messages
- 13
I have a search form...with a list box..
If there are no results - the message box comes up
If there are results - the message box comes up
I am totally bumfuzzled -
Private Sub cmdSearch_Click()
Me.Found.RowSource = "qrySearch"
Me.Found.Visible = True
If Me.Found.ItemsSelected.Count = 0 Then
MsgBox "Enter a New Search."
Exit Sub
End If
End Sub
If there are no results - the message box comes up
If there are results - the message box comes up
I am totally bumfuzzled -
Private Sub cmdSearch_Click()
Me.Found.RowSource = "qrySearch"
Me.Found.Visible = True
If Me.Found.ItemsSelected.Count = 0 Then
MsgBox "Enter a New Search."
Exit Sub
End If
End Sub
