5
576422
I am trying set up a form that can be used to filter records, showing these
filtered records in a subform on the same form. I would have a combo box on
the main form, one for each field in the records, listing the entries for
that field. I want to use these combo boxes to filter the records, with the
list of entries in the remaining combo boxes filtered to reflect the filtered
records on the subform. Also, not all of the combo boxes need to be used in
the filter, with the combo boxes not used not affecting the filtered results.
I would like the whole thing to be dynamic, with the filtered records in the
subform changing with every selection in the combo boxes.
This is very similar to the Auto Filter feature in excel, except with the
controls seperated (on the main form in this case).
I have tried using a query, with the criteria referencing a text box (e.g. "
Forms![Search]![Title] "), however this is not working. I have also tried
using a macro on the subform.
Anybody got some ideas, is this even possible? I am relatively new to
Access, some pointers in the right direction would be appreciated.
filtered records in a subform on the same form. I would have a combo box on
the main form, one for each field in the records, listing the entries for
that field. I want to use these combo boxes to filter the records, with the
list of entries in the remaining combo boxes filtered to reflect the filtered
records on the subform. Also, not all of the combo boxes need to be used in
the filter, with the combo boxes not used not affecting the filtered results.
I would like the whole thing to be dynamic, with the filtered records in the
subform changing with every selection in the combo boxes.
This is very similar to the Auto Filter feature in excel, except with the
controls seperated (on the main form in this case).
I have tried using a query, with the criteria referencing a text box (e.g. "
Forms![Search]![Title] "), however this is not working. I have also tried
using a macro on the subform.
Anybody got some ideas, is this even possible? I am relatively new to
Access, some pointers in the right direction would be appreciated.