K
KS
I have the following situation:
A product is made and data is collected:
ProductID
DateMade
MaterialUsed
EquipmentID
Temperature.........
Then that product can be processed further and additional
data collected:
ProductID(new)
ParentID(old)
Temperature(can be up to 4 diff temps)
TimeAtTemp(for each temp)
#Containers (can be up to 4)
VolumePerContainer(for each container)
This new product needs to inherit all the original data
from the parent.
The products can then be used in a part and they need to
trace back to how the product was made.
Part#
ProductID
ParentID(or some indication that it had a parent)
DateMade
MaterialUsed
What's the best way to setup my tables especially for
the "inherited" properties? If I have 2 tables it seems
like my "genealogy" queries will get pretty complicated.
If I have 1 table how do I autofill the inherited
information for the child(post-processed product).
What about the Temperature and #containers data since it
can vary from 1 to 4 values?
Temp1, Temp2, etc violates normalization rules, right?
I'm going around in circles!!!! If this makes sense to
someone out there I would appreciate some suggestions.
Thanks in advance for your help.
A product is made and data is collected:
ProductID
DateMade
MaterialUsed
EquipmentID
Temperature.........
Then that product can be processed further and additional
data collected:
ProductID(new)
ParentID(old)
Temperature(can be up to 4 diff temps)
TimeAtTemp(for each temp)
#Containers (can be up to 4)
VolumePerContainer(for each container)
This new product needs to inherit all the original data
from the parent.
The products can then be used in a part and they need to
trace back to how the product was made.
Part#
ProductID
ParentID(or some indication that it had a parent)
DateMade
MaterialUsed
What's the best way to setup my tables especially for
the "inherited" properties? If I have 2 tables it seems
like my "genealogy" queries will get pretty complicated.
If I have 1 table how do I autofill the inherited
information for the child(post-processed product).
What about the Temperature and #containers data since it
can vary from 1 to 4 values?
Temp1, Temp2, etc violates normalization rules, right?
I'm going around in circles!!!! If this makes sense to
someone out there I would appreciate some suggestions.
Thanks in advance for your help.