davesmith202
Employee of Access World
- Local time
- Today, 07:02
- Joined
- Jul 20, 2001
- Messages
- 522
I have three tables: tblProducts1, tblProducts2 and tblProductSales.
tblProducts1
Code Cost
ABC 20
BVC 35
ABC 30
tblProducts2
Code Cost
ABC 10
BVC 55
ABC 20
tblProductSales
Code Rev
ABC 70
BVC 25
ABC 20
BVC 15
DCC 33
I want to produce a query that looks like this:
Code Rev Cost Profit
ABC 90 80 10
BVC 40 90 -50
DCC 33 0 33
How can I do this?
Thanks,
Jon
tblProducts1
Code Cost
ABC 20
BVC 35
ABC 30
tblProducts2
Code Cost
ABC 10
BVC 55
ABC 20
tblProductSales
Code Rev
ABC 70
BVC 25
ABC 20
BVC 15
DCC 33
I want to produce a query that looks like this:
Code Rev Cost Profit
ABC 90 80 10
BVC 40 90 -50
DCC 33 0 33
How can I do this?
Thanks,
Jon