Hi I have a search box running the following code on After Update. I would like the search box to use a contains functionality instead of its exact nature currently.
ex. "Address Number" could be found by typing "Num". Currently I have to type "Address Number" in full exactly as it appears in my table.
Any help would be greatly appreciated.
Thanks
Code:
Private Sub txtSearch_AfterUpdate()
With Me.RecordsetClone
.FindFirst "[QstnText]=""" & Me.txtSearch & """"
If .NoMatch Then
Beep
Else
Me.Bookmark = .Bookmark
End If
End With
End Sub