This is just a simple query question and I can't get it for the life of me. The name of the query that I am working in is "Panel No Code" There are a bunch of fields in the query but the only ones that matter are:
[no code]
[no code2]
[no code3]
[no code4]
[no code5]
[no code6]
[no code7]
All of these fields share the same options. They are from the same table and they all have the exact same values possible in a pull down menu from a value list. I am using a form(named: PanelNoCodefrm) with an unbound combo-box(named: no code) to set the search criteria, which has the same value list as the above fields. So back in the query, in the Criteria line for the no code's I have the following:
[Forms]![PanelNoCodefrm]![no code]
I know that this is the correct code to go get the information...I just must not have it in the right spot. I have it in every Criteria box for all seven "no codes" I need the user to be able to put in a code number(ex. 1000), and have the query bring back any code 1000, no matter which "no code" field it is in. How do I set up my criteria to do this? Thanks in advance if you can help.
Brad
[no code]
[no code2]
[no code3]
[no code4]
[no code5]
[no code6]
[no code7]
All of these fields share the same options. They are from the same table and they all have the exact same values possible in a pull down menu from a value list. I am using a form(named: PanelNoCodefrm) with an unbound combo-box(named: no code) to set the search criteria, which has the same value list as the above fields. So back in the query, in the Criteria line for the no code's I have the following:
[Forms]![PanelNoCodefrm]![no code]
I know that this is the correct code to go get the information...I just must not have it in the right spot. I have it in every Criteria box for all seven "no codes" I need the user to be able to put in a code number(ex. 1000), and have the query bring back any code 1000, no matter which "no code" field it is in. How do I set up my criteria to do this? Thanks in advance if you can help.
Brad