I am creating a query with 3 fields for selection criteria: (discipline), (keyword), and (facility). I am using combo boxes in a form to select the records.
Is there a simple query that can do the following:
* select (discipline), (keyword), and (facility) and get records the satisfy ALL 3 criteria.
* select (discipline) and (keyword) and get records that contains BOTH (discipline) AND (keyword) only.
* select (discipline) and (facility) and get records that contains BOTH (discipline) AND (facility) only.
* select (keyword) and (facility) and get records that contains BOTH (keyword) AND (facility) only.
* select (discipline) only and get records that contains (discipline) only.
* select (keyword) only and get records that contains (keyword) only.
* select (facility) only and get records that contains (facility) only.
I want to do this in one step..maybe just a simple query. Is there a way...???
Step-by-step solution will be greatly appreciated.
Thank you very much...
Is there a simple query that can do the following:
* select (discipline), (keyword), and (facility) and get records the satisfy ALL 3 criteria.
* select (discipline) and (keyword) and get records that contains BOTH (discipline) AND (keyword) only.
* select (discipline) and (facility) and get records that contains BOTH (discipline) AND (facility) only.
* select (keyword) and (facility) and get records that contains BOTH (keyword) AND (facility) only.
* select (discipline) only and get records that contains (discipline) only.
* select (keyword) only and get records that contains (keyword) only.
* select (facility) only and get records that contains (facility) only.
I want to do this in one step..maybe just a simple query. Is there a way...???
Step-by-step solution will be greatly appreciated.
Thank you very much...