This is what I'd like to be able to do:
I have a table called "MainTable". It has a bunch of fields in it. Most of the fields are based on lookup fields. Each lookup field may have at most 10 possible answers or less in it. So there are a limited number of possible values which a particular field can have. For instance, one lookup field may have 3 possible answers, "Yes";"No";"N/A". Another lookup field may have a different set of possible answers.
I have a form called "Switchboard". It has 2 combo boxes on it, "ComboBox1" and "ComboBox2".
When I click on "ComboBox1", I want it to display specific fields in "MainTable" in its dropdown list, but not all the fields.
When I select a value from the drop down list in "ComboBox1", I want "ComboBox2" to populate with all the different answers available for that field in "MainTable".
Next I want to be able to click a button and call up a query based upon the values in "ComboBox1" and "ComboBox2" where "ComboBox1" represents the field on the table I want searched and "ComboBox2" represents the value in that field I want displayed in the query.
I'm attaching a copy of the database I'm working on. I've almost got it to where it is doing what I want above except for a few problems:
1. I don't want "ID" or "CLASS" to show up in ComboBox1. In other words I don't want to query those fields.
2. "MainQuery" is confusing fields "Row4" and "Row5" because they have identical value lists. Both fields have "Yes";"No";"N/A" for their values. Therefore the way I have it set up now it seems to query ALL fields with the value of ComboBox2. I just want it to pick up the value in ComboBox2 of the field selected in ComboBox1.
Thanks for any help!