K
kwaldman
Hi all,
I've been learning Access very organically, and although I can do some
advanced VB coding, the basics of complex queries mystify me. I'm
collecting data on orders placed and orders received, but the problem
is that I have one table for orders with 1 record per order, but I can
receive multiple shipments of a product from 1 order with different
expiration dates, meaning I have a separate table for receipts with
multiple records per product.
For example, I might order 1000 units of product A, 2000 units of
product B and 3000 units of product C.
I receive 200 units of product A with expiration date 1.
Then I receive 500 units of product A with expiration date 2.
Then I receive 3000 units of product C.
I want to create a query that will contain all of my orders that I
haven't received completely - so I wouldn't see an outstanding order
for order C, would see 2000 units outstanding from order B, and 300
units oustanding from order A.
Can anyone provide any help?
Thanks so much.
I've been learning Access very organically, and although I can do some
advanced VB coding, the basics of complex queries mystify me. I'm
collecting data on orders placed and orders received, but the problem
is that I have one table for orders with 1 record per order, but I can
receive multiple shipments of a product from 1 order with different
expiration dates, meaning I have a separate table for receipts with
multiple records per product.
For example, I might order 1000 units of product A, 2000 units of
product B and 3000 units of product C.
I receive 200 units of product A with expiration date 1.
Then I receive 500 units of product A with expiration date 2.
Then I receive 3000 units of product C.
I want to create a query that will contain all of my orders that I
haven't received completely - so I wouldn't see an outstanding order
for order C, would see 2000 units outstanding from order B, and 300
units oustanding from order A.
Can anyone provide any help?
Thanks so much.