
Originally Posted by
jzwp11
It sounds like you are doing daily inspections, so a table to hold that:
tblInspections
-pkInspectID primary key, autonumber
-dteInspect (date)
other fields related to the inspection
We need to remove the field -MachineParameterValue from tblMachineParameters, so that table is now as follows:
tblMachineParameters
-pkMachParaID primary key, autonumber
-fkMachineID foreign key to tblMachines
-fkParameterID foreign key to tblParameter
During an inspection you will gather results for many machine/parameters (one-to-many relationship).
tblInspectionResults
-pkInspectResultID primary key, autonumber
-fkInspectID foreign key to tblInspections
-fkMachParaID foreign key to tblMachineParameters
-InspectMachineParameterValue (the actual value for the machine/parameter for the particular inspection)