Not sure if this is even possible. I have two ms-access tables that I access using VB and Jet. Table "A" is a list of products with pricing. Table "B" has a list of items in table "A" that need the price added to a table "A" item to get a sales price. For example table "A" has the following items:
ID Item Price
1. Bathtub 150.00
2. Install Bath Tub 50.00
3. Bath Tub Faucet 100.00
Table B has the following entries
I would like a sql statement that selects Item 1 from table "A" then looks in table "B" for items with the matching baseItemID and gets the prices from table "A" sums it and adds it to the Table "A" price. In this case A.ID is the base item so the sales price would be 300.