put the code in the events:
Code:
Private Sub DoFilter()
dim fStr as string
fstr="true "
if trim(nz(SerialSearch,""))<>"" then fstr=fstr+ "and [serial #]='" & searialSearch & "' "
if trim(nz(PartSearch,""))<>"" then fstr=fstr+ "and [part #]='" & PartSearch & "' "
if trim(nz(ModelSearch,""))<>"" then fstr=fstr+ "and [Model #]='" & ModelSearch & "' "
me.filter=fstr
me.filteron=true
End Sub
Private Sub SerialSearch_after_update()
DoFilter
End sub
Private Sub PartSearch_after_update()
DoFilter
End sub
Private Sub ModellSearch_after_update()
DoFilter
End sub
above codes works for all three fields are text. if some fields are number, please modify accordingly.