nikademous
Technical User
Hello, I have been trying to figure out how to set up a form that you enter a component and component Value for the chosen product. Now right now there are 11 components and each components value there could be anywhere from 2-10 you could select from. Example below for FeedWheel you have a selection of 125, 90, 84 and 146 but if you look in bl_ProductComponents Junction Table I selected the 90 AKA 2. What I really wanted was when you open the form it displayed the "Right Now" 11 ComponentName in a text box, reason being in order to not have duplicates from a drop down. Then for each row select what ComponentVar you wanted for that ComponentName/Product. Thoughts, Examples?
Code:
tbl_Product
(pk)ProductID Product IsInactive
-----------------------------------------
1 Product1 No
2 Product2 Yes
3 Product3 No
tbl_ProductComponents Junction Table
(pk)ProductComponentsID ProductID ComponentVarID
-----------------------------------------------------------
1 1 2
2 1 7
3 1 8
4 3 6
tbl_ComponentSizes
(pk)ComponentVarID ComponentName ComponentVar
------------------------------------------------------------
1 Feed Wheel 125
2 Feed Wheel 90
3 Feed Wheel 84
4 Feed Wheel 146
5 Cut-Off 84
6 Cut-Off 90
7 Cut-Off 125
8 P Plate 2-1/2
9 P Plate 3
10 P Plate 2-1/16
11 P Plate 3-1/2