Hello,
I am trying to figure out how to lookup multiple values from within the same table in Access. I want to query multiple item codes, say 50-100's, and return their corresponding records from the table. I don't have time to spend entering operators or hundreds of item codes individually into the query criteria. Is there a way I can copy and paste values and look them up from within my table?
Thank you!
1.
Let’s say I have a Table with an OrderID field of Data Type Number (you don’t give us much detail to go on).
This field is normally 5 numbers long.
2.
I want to sort those records so that I get:-
- records between and including the number 11079
- up to and including the number 11100
22 records should be returned.
Take the following actions:-
3.
Open the Table in Datasheet View then click on the first row and in its OrderID field.
4.
Now right click then hover the mouse over:-
Number Filters
- then click on:-
Between . . .
- so that the window called:-
Between Numbers
- opens.
5.
Change the window called:-
Between Numbers
- to read:-
Smallest: 11079
Largest: 11100
- then click:-
OK
6.
You should now have the 22 records you wanted.
Does that give you what you want?
7.
Please note that you can perform a similar operation to that mentioned above for Text fields.