Hi all,
I'm trying to build a search function base on text fields with options of all words, any word, or exact match.
I searched in this forum but I have no luck yet.
Could someone please give me some help please?
If Me.frameSearch.Value = 1 Then 'Last Name
If Me.FrameLikeExact.Value = 2 Then 'Like match
strWhere = " WHERE [Subscriber Master]![LastName] Like '*' & '" & varSearchStr & "' & '*'"
Else 'Exact match
strWhere = " WHERE [Subscriber Master]![LastName] = '" & varSearchStr & "'"
End If
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.