I'm creating a maintenance database where each time maintenance is done on a machine it will be recorded, providing information listed under Maintenance Event table. I eventually want to be able to use a form to search by WO#, Date Range, Machine and/or Section and/or Component. 1st I want to make sure i'm setting up my tables correctly. This is what i'm thinking so far.
tblCompany
-name
-phone #
-Address
-WO#
tblMachines
-Machine ID (pk)
-Machine
tblSections
-MachineID (fk)
-SectionID (pk)
-Section
tblComponent
-SectionID (fk)
-Component ID
-Component
tblMaintenance Event
-Begin Date
-End Date
-Machine
-Section
-Component
-Part
-Description
-Labor Cost
-Material Cost
-Scheduled Downtime
-Unscheduled Downtime
-WO#
tblCompany
-name
-phone #
-Address
-WO#
tblMachines
-Machine ID (pk)
-Machine
tblSections
-MachineID (fk)
-SectionID (pk)
-Section
tblComponent
-SectionID (fk)
-Component ID
-Component
tblMaintenance Event
-Begin Date
-End Date
-Machine
-Section
-Component
-Part
-Description
-Labor Cost
-Material Cost
-Scheduled Downtime
-Unscheduled Downtime
-WO#
Last edited: