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 |
Options1 |
Options1_Price |
-ABC |
'0 |
-123 |
25 |
Options2 |
Options2_Price |
|
'0 |
-Z2 |
25 |
-Z3 |
50 |
COMPLETE-ITEM (All Combinations) |
COMPLETE-PRICE |
|
??? |
|
??? |
|
??? |
|
??? |
|
??? |
|
??? |
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 to match up with the given Complete items.
Thanks!