I have a form that has 5 comboboxes on it. They are named cboCriteria1, cboCriteria2, cboCriteria3, cboCriteria4, and cboCriteria5,
And I have a table that looks like this:
If the user selects "Football" in any one of the 5 comboboxes I want the records that have "Football" entered in any of the 5 criteria fields in the table to be displayed in a form that opens in datasheet view mode. Or in this case, records 1 and 6. And f the user selects "Football" in all 5 comboboxes then I want the same result... records 1 and 6 to be displayed.
But if the user for example selects "Football" in the 3rd combobox and "Baseball" in the 2nd combobox then I want all of the field data in records 1, 5, and 6 to display.
The resulting form should display all data in each of the records that have been found. The form will open as a result of a click of a command button.