My organization performs food inspections and sanitation inspection. anreports for multiple customers. We generate a report for each inspection. The heading and body of the reports are different but the final section, which contains electronic signitures is always identical. I use one-to-many relationships to link customer information in the heading to the different report body tables. I could create identical fields for signitures in each report body table but I want to avoid duplicate fields in multiple tables. I want a single table for signitures. The signiture blocks serve a function internal to my company. They have no functional relationship to the customer. Since each report has only on signiture block and each signiture block applies to only one report a one-to-one relationships sounds right.
Does this table structure make sense? One-to-many relationships between CustomerDataTable and both FoodInspectionTable and SanitationInspectionTable. One-to-one relationships between FoodInspectionTable and SignitureTable, and SanitationInspectionTable and SignitureTable.
CustomerDataTable
CustomerID(pk)
FoodInspectionTable SanitationInspectionTable
FoodInspID (pk) SaniInspID (pk)
CustomerID CustomerID
-data fields- -data fields-
SignitureID SignitureID
SignitureTable
SignitureID (pk)
-signiture fields-
Does this table structure make sense? One-to-many relationships between CustomerDataTable and both FoodInspectionTable and SanitationInspectionTable. One-to-one relationships between FoodInspectionTable and SignitureTable, and SanitationInspectionTable and SignitureTable.
CustomerDataTable
CustomerID(pk)
FoodInspectionTable SanitationInspectionTable
FoodInspID (pk) SaniInspID (pk)
CustomerID CustomerID
-data fields- -data fields-
SignitureID SignitureID
SignitureTable
SignitureID (pk)
-signiture fields-