A
anden7606
Guest
I have some problems with quering two tables, orders and warehouse.
The problem is that I need to find out ONE shelf containing "car001", not all shelfs containing "car001".
The tables looks like this,
Orders,
Orderno____Stockno_____Units
100________car001______3
100________car003______2
100________oil007_______10
Warehouse,
Stockno_____Units_______Shelf
car001_______100_______A-2-10
car001_______10________A-5-1
car001_______100_______A-5-2
oil003________50________B-1-1
oil007________50________B-1-2
car003_______50________C-3-2
car003_______25________C-3-1
I need this result,
car001________3________A-5-1
car003________2________C-3-1
oil007________10________B-1-1
But this is the result I get,
car001________3________A-2-10
car001________3________A-5-1
car001________3________A-5-2
car003________2________C-3-2
car003________2________C-3-1
oil007________10________B-1-2
Sorry for my poor english and knowledge i Access.
Anden
The problem is that I need to find out ONE shelf containing "car001", not all shelfs containing "car001".
The tables looks like this,
Orders,
Orderno____Stockno_____Units
100________car001______3
100________car003______2
100________oil007_______10
Warehouse,
Stockno_____Units_______Shelf
car001_______100_______A-2-10
car001_______10________A-5-1
car001_______100_______A-5-2
oil003________50________B-1-1
oil007________50________B-1-2
car003_______50________C-3-2
car003_______25________C-3-1
I need this result,
car001________3________A-5-1
car003________2________C-3-1
oil007________10________B-1-1
But this is the result I get,
car001________3________A-2-10
car001________3________A-5-1
car001________3________A-5-2
car003________2________C-3-2
car003________2________C-3-1
oil007________10________B-1-2
Sorry for my poor english and knowledge i Access.
Anden