Hi,
I have a question about the Combo Boxes. I have created a form that has 7 combo boxes. The user may select one of the option from two combo's or some times from 5 combo's or sometimes all 7 combos. Based on the selection criteria when the user clicks a button the query result should come.
I have written a query that takes options from all combo boxes with "AND" statement. I have assigned this query to the command button. But this is working when all 7 combo boxes are selected. "OR" doesn't work for this.
How to write a query that takes an "AND" when that combo box is selected.
Thanks
I have a question about the Combo Boxes. I have created a form that has 7 combo boxes. The user may select one of the option from two combo's or some times from 5 combo's or sometimes all 7 combos. Based on the selection criteria when the user clicks a button the query result should come.
I have written a query that takes options from all combo boxes with "AND" statement. I have assigned this query to the command button. But this is working when all 7 combo boxes are selected. "OR" doesn't work for this.
How to write a query that takes an "AND" when that combo box is selected.
Thanks