On a form I want to filter a subform according to the value chosen on a combo box.
My subform is made from a query and in this query I have the below criteria for one of the fields.
Like [forms]![Results_Form].[combo49] & "*"
I also have the following code, so it requeries:
Private Sub Combo49_AfterUpdate()
Me.Requery
End Sub
The filtering seems to work. However, the problem is that I do not know how to reset a filter so that there is no filter and therefore all the data is showing on my subform. Please help!
My subform is made from a query and in this query I have the below criteria for one of the fields.
Like [forms]![Results_Form].[combo49] & "*"
I also have the following code, so it requeries:
Private Sub Combo49_AfterUpdate()
Me.Requery
End Sub
The filtering seems to work. However, the problem is that I do not know how to reset a filter so that there is no filter and therefore all the data is showing on my subform. Please help!