hi i got a little question,
i have a search button for only searching on surname,
i want to search on surname and name or name, so i want a combination
so when i search for surname JOHN, and there are 10 Johns, i want to click also name, to filter again.. can some one help me, the code i got now is:
Private Sub test_Click()
If Not IsNull(txtca) Then
Me.Filter = "surname LIKE '*" & txtca.Value & "*'"
Me.FilterOn = True
End If
End Sub
i have a search button for only searching on surname,
i want to search on surname and name or name, so i want a combination
so when i search for surname JOHN, and there are 10 Johns, i want to click also name, to filter again.. can some one help me, the code i got now is:
Private Sub test_Click()
If Not IsNull(txtca) Then
Me.Filter = "surname LIKE '*" & txtca.Value & "*'"
Me.FilterOn = True
End If
End Sub