Question New Work order database

Rushman21

Registered User.
Local time
Yesterday, 22:35
Joined
Nov 2, 2011
Messages
23
Access newbie here.
I’m using Access 2010 and trying to create my first database. I want to create a work order and inventory DB. I have the following tables listed.
Employee Table
1.EmplyeeID
2.Employee name
3.Employee Title
4.Employee Hourly Rate

Equipment Table
1.EquipID
2.EquipPartNumber
3.EquipHourRate

Materials Table
1.MaterialsID
2.ItemNo
3.Description
4.InStock

So, I want to create a workorder form with the top part to fill out the initial information, then have a subform or tab to fill in the employee, (can be multiple employees) from a drop down, which will autofill in their hourly rate. Then, have another subform or tab to fill in the Equipment and autofill hour rate..etc. Same with Materials. So, my first question is how to go by the relationship between the tables and, should I build a new table named “WorkOrders” to store all of this information? I have many more questions but just need to figure out the best way to start. Thank you very much!
 
My two cents...

tblEmployees
eEmployeeID (PK)
eFirstName
eLastName
eTitle
eHourlyRate
etc...

tblParts
pPartID (PK)
pPartType (Equipment, material, etc...)
pDescription
etc...

tblWorkOrders
woWorkOrderID (PK)
woDate
woDescription
etc...

tblWorkOrderDetails
wodID (PK)
wodWorkOrderID (FK - link to tblWorkOrders)
wodPartID (FK - link to tblParts)
etc...

Use the below table as a subform on themain form Work Order so you can get more than one Employee on a Work Order.
tblWorkOrderEmployees
woeWorkOrderID (FK - link to tblWorkOrders)
woeEmployeeID (FK - link to tblEmployees)
 

Users who are viewing this thread

Back
Top Bottom