I am setting up a DB for my wood turning shop, and have a table for the wood, and am setting up one for the completed bowls.
Table #1, tblWoodInventory, has the wood info - species, size, source, cost, etc. - and has the following superkey:
{species, last 2 digits of the year purchased, sequential count for the species that year}.
The table has a field that contains the link to the key in table 2.
Table #2, tblProductInventory, has the bowl info - the key (see below) ID's the bowl, plus there is price, gallery where placed, etc.
The superkey is similar to #1:
{species,enhancements, last 2 digits of the year purchased, sequential count for the species that year}. Enhancements can be special features of the wood - figuring, burl, spalted - and/or added items - dye, metal leaf treatment, scorching. It can also include additional woods used - in a laminated or segmented bowl.
The problem I have is the additional woods - I can link from each wood to the same bowl, but how do I set up the second table to know which is the primary wood, and which are the additional components? I can limit the number of woods noted in the key, but still need to include the other woods used to properly track the materials used for inventory purposes.
And, perhaps the key question I have, how do I do this and keep the key intact?
I'm new to Access - do have programming experience, but not in DB work.
Thanks for any suggestions,
Stephen
Table #1, tblWoodInventory, has the wood info - species, size, source, cost, etc. - and has the following superkey:
{species, last 2 digits of the year purchased, sequential count for the species that year}.
The table has a field that contains the link to the key in table 2.
Table #2, tblProductInventory, has the bowl info - the key (see below) ID's the bowl, plus there is price, gallery where placed, etc.
The superkey is similar to #1:
{species,enhancements, last 2 digits of the year purchased, sequential count for the species that year}. Enhancements can be special features of the wood - figuring, burl, spalted - and/or added items - dye, metal leaf treatment, scorching. It can also include additional woods used - in a laminated or segmented bowl.
The problem I have is the additional woods - I can link from each wood to the same bowl, but how do I set up the second table to know which is the primary wood, and which are the additional components? I can limit the number of woods noted in the key, but still need to include the other woods used to properly track the materials used for inventory purposes.
And, perhaps the key question I have, how do I do this and keep the key intact?
I'm new to Access - do have programming experience, but not in DB work.
Thanks for any suggestions,
Stephen