Hello all,
I have a little bit of a dilemma. I have an unbound form which servers as a search page for the entire database. There are a bunch of checkboxes for the user to select which area of the database to search (basically which table). Once a checkbox is selected, this triggers three unbound textboxes (for entering search criteria), three corresponding combo boxes that have been automatically populated with the field names of the chosen table (for selecting the field in which to search for the data), a subform that displays the un-filtered table (the subform is actually based on a query without any filter criteria set), and a 'Go' and 'Reset' button. The thought is that the user can enter criteria to search in any given field and click the 'Go' button and the subform automatically filters as per their given info. The problem I am having is how do I set a filter on a subform/query? Would it be better to create the subform/query on the fly based on whatever the user enters? If so, I'm going to need alot of help with it!
Thanks!
Itchy
I have a little bit of a dilemma. I have an unbound form which servers as a search page for the entire database. There are a bunch of checkboxes for the user to select which area of the database to search (basically which table). Once a checkbox is selected, this triggers three unbound textboxes (for entering search criteria), three corresponding combo boxes that have been automatically populated with the field names of the chosen table (for selecting the field in which to search for the data), a subform that displays the un-filtered table (the subform is actually based on a query without any filter criteria set), and a 'Go' and 'Reset' button. The thought is that the user can enter criteria to search in any given field and click the 'Go' button and the subform automatically filters as per their given info. The problem I am having is how do I set a filter on a subform/query? Would it be better to create the subform/query on the fly based on whatever the user enters? If so, I'm going to need alot of help with it!
Thanks!
Itchy