I'm not sure of the best way to create a product table (or linked tables) for products that consist of differing numbers of components. For example, consider the following two products:
PartNo Size Length Material Qty Ends Misc
==============================================
FC-001 2" 144" Galv-40 1 Grv Frm NPT
FC-002 2" 120" Galv-40 1 Grv Frm MPT
2" 24" Galv-40 2 Thrd N/A
2" 12" Galv-40 4 Grv N/A
What is the best way to create a product table that recognizes that some part numbers consist of a single component while others consist of multiple components?
Should I create a primary product table with just ProdID and PartNo fields, then link the ProdID to a second table that lists the product details for each part number?
tblProduct contains fields for ProdID & PartNo
tblProdDet contains fields for ProdID (linked to tblProduct) and Size, Length, Material, Qty, Ends & Misc
Secondly, when the frmOrder is filled out by selecting part numbers, can I fill the detail fields in with the subcomponent info without the part number being shown on each subcomponent line? IOW, make it look like my example above, if that makes sense.
TIA for any advice you can provide,
KerryL
PartNo Size Length Material Qty Ends Misc
==============================================
FC-001 2" 144" Galv-40 1 Grv Frm NPT
FC-002 2" 120" Galv-40 1 Grv Frm MPT
2" 24" Galv-40 2 Thrd N/A
2" 12" Galv-40 4 Grv N/A
What is the best way to create a product table that recognizes that some part numbers consist of a single component while others consist of multiple components?
Should I create a primary product table with just ProdID and PartNo fields, then link the ProdID to a second table that lists the product details for each part number?
tblProduct contains fields for ProdID & PartNo
tblProdDet contains fields for ProdID (linked to tblProduct) and Size, Length, Material, Qty, Ends & Misc
Secondly, when the frmOrder is filled out by selecting part numbers, can I fill the detail fields in with the subcomponent info without the part number being shown on each subcomponent line? IOW, make it look like my example above, if that makes sense.
TIA for any advice you can provide,
KerryL