bh-
One possibility is to have a text box into which the user enters the search word, and calculate and apply a new filter in the AfterUpdate event of the text box. The code for this might look like:
Private Sub tbxSrch_AfterUpdate()
If Nz(Me.tbxSrch, "") = "" Then
Me.Filter = ""
Me.FilterOn = False
Else
Me.Filter = "([Text] Like ""*" & Me.tbxSrch & _
"*"") Or ([Definition] Like ""*" & Me.tbxSrch & "*"")"
Me.FilterOn = True
End If
Me.Requery
Me.tbxSrch.SetFocus
End Sub
(This presumes you are searching a table with (at least) two fields: Text and Definition, and you want your filter to show records containing the search term in either field.)
The Filter uses the Like operator, and places a * before and after the search term, so the search term can occur anywhere in the field and still cause a "hit".
You could have the * placed in the search box when the form is open, using a default value for the text box, but the user(s) would surely mess it up, so it's best to add it in code so you know where it is.
Jim