G
Guest
I have the following code in Access 97 attached to On Click event in a form.
Private Sub Command55_Click()
Forms![ICB Customers].Form.FilterOn = True
Forms![ICB Customers].Filter = "[Company Name] Like ""*" & Me.Textbox1 & "*"""
End Sub
I would like to use one textbox on my form to enter different search
criteria. For example, search by company name or company number or state.
Can someone please help me build out this code to accomplish this?
Private Sub Command55_Click()
Forms![ICB Customers].Form.FilterOn = True
Forms![ICB Customers].Filter = "[Company Name] Like ""*" & Me.Textbox1 & "*"""
End Sub
I would like to use one textbox on my form to enter different search
criteria. For example, search by company name or company number or state.
Can someone please help me build out this code to accomplish this?