I have a split form that the datasheet is on the bottom. Then I have 5 unbound text boxes on the top of this split form, each with its own filter button and of course a clear filter button on the side. The problem is I can only use one filter at a time. Here is the code I am using behind the filter button for each of my unbound text boxes:
Private Sub cmdFilterDateIssued_Click()
Me.Filter = "[Date Issued:] Like '*" & Me.txtFilterDateIssued & "*'"
Me.FilterOn = True
Me.Requery
End Sub
Here is another one:
Private Sub cmdFilterOpLicNum_Click()
Me.Filter = "[Op Lic:] Like '*" & Me.txtFilterOpLicNum & "*'"
Me.FilterOn = True
Me.Requery
End Sub
How would I go about setting it up so I can first do a search on Date Issued? Then add on another search to narrow the results even further by doing the next search on the Operator Licenses?
Any help is appreciated. Thanks.