I have table1 with 2 fields. Interest_code and CustomerID.
I want to use Interest_code as criteria in a parameter query. I want to be able to make several selections without separate parameter boxes.
I created table2 with 2 fields. Interest_Code and Interest_description. It is a list defining the possible Interests.
Interest_code in Table2 joins with Interest_code in Table1
I created a form called "criteria" with a list box that lists the contents of table2 and a command button to run the query. I want to be able to make multiple selections from the list and use them in the query. Like a parameter query without having separate boxes pop up.
I created a query with criteria that references forms!criteria!list16.
I've seen in other posts that I cannot set the multi-select property on a list box to anything other than none and be able to use it in query criteria as it will always be null. And this is exactly my problem.
However, I cannot seem to get what it is that I need to do next to make this work.
Thanks in advance,
Melanie
I want to use Interest_code as criteria in a parameter query. I want to be able to make several selections without separate parameter boxes.
I created table2 with 2 fields. Interest_Code and Interest_description. It is a list defining the possible Interests.
Interest_code in Table2 joins with Interest_code in Table1
I created a form called "criteria" with a list box that lists the contents of table2 and a command button to run the query. I want to be able to make multiple selections from the list and use them in the query. Like a parameter query without having separate boxes pop up.
I created a query with criteria that references forms!criteria!list16.
I've seen in other posts that I cannot set the multi-select property on a list box to anything other than none and be able to use it in query criteria as it will always be null. And this is exactly my problem.
However, I cannot seem to get what it is that I need to do next to make this work.
Thanks in advance,
Melanie