I've posted this one before in a rather complicated format, and in the forms forum, so those who may have viewed it forgive me if I'm repeating myself. Hopefully this is clearer:
I have a continuous form designed to have several combo boxes (call them cbo1 to cbo14 for the sake of argument)and it's source query with form fields - f1 to f14 - from which I have reference back to the corresponding combo boxes:
e.g. [Forms]![MyFormName]![cbo1]
After putting in an advised expression I have this as my query column heading:
[Forms]![MyFormName]![f1]
On the next query line is the IsNull expression.
If I continue with this query, adding more fields and refs to cbo's there will not be enough lines for all the OR situations!
To make this work for my very good friend the end user, and make her life much easier, I need to be able to select any of the fields - in any combination - in order to display the form with the selected records. So cbo1 and cbo3, when selected (leaving the other cbo's alone), will select and display on MyForm - a two (or however many) stage filter if you like. I just can't see how to set the query up, not being SQL literate - though it is becoming clearer!.
Any help to solve this one would be greatly appreciated.
Ted.
I have a continuous form designed to have several combo boxes (call them cbo1 to cbo14 for the sake of argument)and it's source query with form fields - f1 to f14 - from which I have reference back to the corresponding combo boxes:
e.g. [Forms]![MyFormName]![cbo1]
After putting in an advised expression I have this as my query column heading:
[Forms]![MyFormName]![f1]
On the next query line is the IsNull expression.
If I continue with this query, adding more fields and refs to cbo's there will not be enough lines for all the OR situations!
To make this work for my very good friend the end user, and make her life much easier, I need to be able to select any of the fields - in any combination - in order to display the form with the selected records. So cbo1 and cbo3, when selected (leaving the other cbo's alone), will select and display on MyForm - a two (or however many) stage filter if you like. I just can't see how to set the query up, not being SQL literate - though it is becoming clearer!.
Any help to solve this one would be greatly appreciated.
Ted.