R
Richard
I use the below code to filter my form. This filter matches any where in the
phone string. What I am looking for is the exact match. Thanks for any help.
Private Sub cmdPhoneNumber_Click()
' Find the record that matches the control.
Dim stFilter As String
Me.FilterOn = False
stFilter = "[Phone] Like '*" & Me.[txtPhoneNumber] & "*'"
Me.Filter = stFilter
Me.FilterOn = True
End Sub
phone string. What I am looking for is the exact match. Thanks for any help.
Private Sub cmdPhoneNumber_Click()
' Find the record that matches the control.
Dim stFilter As String
Me.FilterOn = False
stFilter = "[Phone] Like '*" & Me.[txtPhoneNumber] & "*'"
Me.Filter = stFilter
Me.FilterOn = True
End Sub