A
Alex
I have three tables:
Table1 - All Product
Day Product Component# Qty
1/1/04 A 7 100
1/2/04 C 2 20
1/3/04 C 4 10
1/4/04 D 4 40
1/5/04 A 2 30
Table2 - Used Product
Day Product Component# Qty
1/3/04 A 7 20
1/4/04 C 4 3
1/4/04 A 7 40
1/5/04 A 2 10
Table3 - Thrown Out Product
Day Product Component# Qty
1/3/04 A 7 10
1/5/04 D 4 40
How could I create a query to get as a result all data
from Table1 (Day can be the same) but with Qty reduced by
Qty from Table2 and 3 for matched Product and Component#?
QtyTable1 - QtyTable2 - QtyTable3
Thanks
Table1 - All Product
Day Product Component# Qty
1/1/04 A 7 100
1/2/04 C 2 20
1/3/04 C 4 10
1/4/04 D 4 40
1/5/04 A 2 30
Table2 - Used Product
Day Product Component# Qty
1/3/04 A 7 20
1/4/04 C 4 3
1/4/04 A 7 40
1/5/04 A 2 10
Table3 - Thrown Out Product
Day Product Component# Qty
1/3/04 A 7 10
1/5/04 D 4 40
How could I create a query to get as a result all data
from Table1 (Day can be the same) but with Qty reduced by
Qty from Table2 and 3 for matched Product and Component#?
QtyTable1 - QtyTable2 - QtyTable3
Thanks