Hi
I have written a form that has 4 drop down selection boxes on it, with check boxes next to them. When a user selects something from the drop down box the check box is automatically selected. I want to perfom a query and based on what has been selected from the drop down boxes use this information as the criteria. If a user has only selected a supplier name then the query should return all products from that supplier, but if a user selects a supplier name and colour then only products from that supplier that are that colour should be returned. (if that makes any sense?) I can get the query to do what I want on an individual criteria basis, but it is the ability to test whether a check box has been ticked and then apply that criteria that is causing me a headache. Any help on this would be grately appreciated.
I have written a form that has 4 drop down selection boxes on it, with check boxes next to them. When a user selects something from the drop down box the check box is automatically selected. I want to perfom a query and based on what has been selected from the drop down boxes use this information as the criteria. If a user has only selected a supplier name then the query should return all products from that supplier, but if a user selects a supplier name and colour then only products from that supplier that are that colour should be returned. (if that makes any sense?) I can get the query to do what I want on an individual criteria basis, but it is the ability to test whether a check box has been ticked and then apply that criteria that is causing me a headache. Any help on this would be grately appreciated.
Comment