Hi All
I have an unbound text box used to put in data to search through surnames activated on the onchange event. I'm using findfirst with the like operator. I can get it to work with the wildcard symbol located on both sides of the text box as shown below
However I only want the wildcard at the end of the text box but I can't get the syntax correct as shown below:
Any help would be appreciated
Mike
I have an unbound text box used to put in data to search through surnames activated on the onchange event. I'm using findfirst with the like operator. I can get it to work with the wildcard symbol located on both sides of the text box as shown below
Code:
Me.RecordsetClone.FindFirst "[Surname] like ""*" & Me.txtSearch & "*"""
Code:
Me.RecordsetClone.FindFirst "[Surname] like (me.txtSearch & " * ")"
Mike
Comment