mjs082969
10-11-2001, 10:15 AM
Hi,
I am using a multiple selection list box to obtain criteria/parameters for a query. Once the users clicks a command button, the selections made in the list box are written to a string. Then, in a SELECT statement, I used this string in a set comparison in order to determine if the row meets the criteria.
But I just can't seem to get the query to accept the parameter. I initially tried to do with the DoCmd.RunSQL.. but that only executes action queries. I have tried several other things, to no avail.
If anyone has any ideas, I would greatly appreciate it!
Thanks!
I am using a multiple selection list box to obtain criteria/parameters for a query. Once the users clicks a command button, the selections made in the list box are written to a string. Then, in a SELECT statement, I used this string in a set comparison in order to determine if the row meets the criteria.
But I just can't seem to get the query to accept the parameter. I initially tried to do with the DoCmd.RunSQL.. but that only executes action queries. I have tried several other things, to no avail.
If anyone has any ideas, I would greatly appreciate it!
Thanks!