Mulitple number look up

Tcurtis

Board Regular
Joined
Aug 15, 2009
Messages
149
Is there a way to look up multiple numbers in Access?
I have a database and can input one number and have it return the information I need but is there a way to put in several numbers at once and pull the data?


Thanks
 

Excel Facts

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.
Create a table that stores one number per record. Then do a matched query between this table and your other table based on the field you are looking up.
 
Upvote 0
Maybe all you need is an IN clause in your query criteria for the field: IN(2,4,6,7,9...)
You don't say if the criteria will be hard coded into the query or if you are using a form; i.e. can input one number , but into what?
 
Last edited:
Upvote 0

Forum statistics

Threads
1,215,873
Messages
6,127,470
Members
449,384
Latest member
purevega

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