Im trying to create a MS Access database structure where Products are manufactured by travelling through a series of production sites in a particular order. The order is dependent on the product and its revision number.
Each of the production sites can have a number of tasks performed there - and each of these tasks can be broken down into further sub tasks.
My tables are as follows:
Product Table
Productcode
RevNumber
(these 2 together form a unique record)
Site_Order Table
Productcode
RevNumber
SiteID
OrderNo
Prod_Site Table
SiteID
TaskID
Task Table
TaskID
SiteID
Task
Sub_Task
SubTaskID
TaskID
SubTask
I'm struggling how to connect these tables with various PK and FK's - I would appreciate any help.
Each of the production sites can have a number of tasks performed there - and each of these tasks can be broken down into further sub tasks.
My tables are as follows:
Product Table
Productcode
RevNumber
(these 2 together form a unique record)
Site_Order Table
Productcode
RevNumber
SiteID
OrderNo
Prod_Site Table
SiteID
TaskID
Task Table
TaskID
SiteID
Task
Sub_Task
SubTaskID
TaskID
SubTask
I'm struggling how to connect these tables with various PK and FK's - I would appreciate any help.