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.
Yeah, that does make it harder. I'm not sure about the multiplication yet but this yields results that look ok:
EDIT: some further checking seems to confirm to me it's ok. Only the exact calculation
Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
With Microsoft Access, learn how to start a database in different ways and produce different start-up actions allowing you to use a single database to perform multiple tasks.
Specify a start-up form through options:
Specify an Autoexec macro: