G
Guest
I have created a search form that I want the user to be able to put in part
of the word and retrieve search results against it. I am able to put the
code in so that whatever the user puts in will retrieve any row with that
text, but I want the search to take the text input and do the wildcard search
after. For example:
Search Field = s - currently search will return any record with an s in the
field, I want it to return any record with an s at the beginning. Here is my
current code:
f Not IsNull(Me.txtTitle) Then
strWhere = strWhere & "([Title] Like ""*" & Me.txtTitle & "*"") AND "
End If
of the word and retrieve search results against it. I am able to put the
code in so that whatever the user puts in will retrieve any row with that
text, but I want the search to take the text input and do the wildcard search
after. For example:
Search Field = s - currently search will return any record with an s in the
field, I want it to return any record with an s at the beginning. Here is my
current code:
f Not IsNull(Me.txtTitle) Then
strWhere = strWhere & "([Title] Like ""*" & Me.txtTitle & "*"") AND "
End If