MS Access - Summing the Price of Multiple Parts (Records) in Different Tables

ban1k

New Member
Joined
Apr 29, 2014
Messages
4
Greetings - I'm trying to get my head wrapped around this one; I may need just some general guidance, as I have light experience with Access.

I am creating a database that is meant to A) find all possible combinations of given parts/components, and then B) bundle together the price of each of those parts into one complete item with total price. So, to illustrate - I would combine the below 3 'Part' tables on the left into one 'complete item' table having just two columns/fields: 'Complete Item' & 'Complete Price'.

BasePart1
BasePart1_Price
WTL
100

<tbody>
</tbody>






Options1
Options1_Price
-ABC
-123
25

<tbody>
</tbody>








Options2
Options2_Price
-Z2
25
-Z3
50

<tbody>
</tbody>

COMPLETE-ITEM (All Combinations)
COMPLETE-PRICE

WTL-ABC

<tbody>
</tbody>
???

WTL-123

<tbody>
</tbody>
???

WTL-ABC-Z2

<tbody>
</tbody>
???

WTL-123-Z2

<tbody>
</tbody>
???

WTL-ABC-Z3

<tbody>
</tbody>
???

WTL-123-Z3

<tbody>
</tbody>
???

<tbody>
</tbody>


I used the following Query to create all possible combinations ('Complete Item') table/field:

Code:
SELECT BasePart1.BasePart1 & Options1.Options1 & Options2.Options2 AS Complete-Item INTO Complete-Item
FROM BasePart1, Options1, Options2;

I greatly appreciate any insight or direction on solving and tying in the Complete Price portion of this to match up with the given items.

Thanks!
 

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.

Forum statistics

Threads
1,215,854
Messages
6,127,345
Members
449,379
Latest member
phyxius117

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top