In my form I have a sub/form which is based off a query just showing a few fields from the customers table. I can type a filter into my main form which affects the subform using the VBA code:
Private Sub cmdFilter_Enter()
Me.frmCustomerListing.Form.Filter = "tblCustomers.Firstname LIKE '*"...