Use Multi-Select List Box as Query Parameter

  • Thread starter Thread starter djf
  • Start date Start date
D

djf

Is there a way to get the multiple selections from a list box into my query
as the parameters?
 
I found this code on an Internet search. I'm using method 2. I also found the
code that you've listed on the same search. Method 2 is working, with a few
things I'm trying to work out. My query has two criteria fields, one
generated from a combo box and one generated from a list box. I'm not sure if
I can use method 2 for this type of query. The code does work, however when I
modify for my db.

What is the difference between method 2 and the code that you suggest?

http://support.microsoft.com/kb/q135546
 
Is it possible to apply these techniques to a crosstab query having a multiselect listbox together with some other criteria? My question is mainly refering to the "complexity" of the sql statement (which includes parameters, transform, group by etc) since the 2nd method is constructing the sql statement
 
Back
Top