Multiple parameters

tipperjoe

New Member
Joined
May 26, 2008
Messages
19
I'm looking for a way to allow the end users to enter multiple criteria in a parameter in a query. In theory I thought this critieria would work, but instead it returns nothing.
Criteria value:
In ([Enter Item#(example: "D05494","IM5506")])
If I hard code the item numbers like this: In ("D05494","IM5506"). It work fine. I want the end user to make multiple selections without going into the design view of the query or have them enter the criteria in a separate table. Can anyone help ? It would be greatly appreciated
 

Excel Facts

Excel Can Read to You
Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.
Hi Denis
Thanks for the quick reply, I copied your solution straight to access and got the message "The In operator you entered requires parentheses"

Joe
 
Upvote 0

Forum statistics

Threads
1,216,723
Messages
6,132,326
Members
449,719
Latest member
excel4mac

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top