M
Michael
Here is the revised table structure for my scheduling database. I need to produce
<print out> a 2-week pay period schedule for approx. 18 employees over a 24-hour
work day. Mostly 12 hour shifts, with up to 5 people starting at one time - the rest start
at staggered time intervals. The same employee will not always be working the same
shift.
I posted my initial table structure and got great advice on how to normalize. Here is the
new structure. It would be great to have more input. Thanks.
tblPersonnel
==========
PersonnelID<PK>
LastName
FirstName
email
Address
PhoneHome
PhoneMobile
PhonePager
Notes
tblShifts
======
ShiftID<PK>
ShiftName - such as '7am nurse 1' '7am nurse 2'
ShiftStart - standard start/finish times for shifts
ShiftEnd
tblSchedule
=========
ScheduleID<PK>
Date
PersonnelID<FK>
ShiftID<FK>
ShiftStartTime - to be used when there is a variance in shift start/end times
ShiftEndTime - such as when the 0700 RN will start at 0800 instead.
I would appreciate any guidance you can provide. Thanks again.
Michael
<print out> a 2-week pay period schedule for approx. 18 employees over a 24-hour
work day. Mostly 12 hour shifts, with up to 5 people starting at one time - the rest start
at staggered time intervals. The same employee will not always be working the same
shift.
I posted my initial table structure and got great advice on how to normalize. Here is the
new structure. It would be great to have more input. Thanks.
tblPersonnel
==========
PersonnelID<PK>
LastName
FirstName
Address
PhoneHome
PhoneMobile
PhonePager
Notes
tblShifts
======
ShiftID<PK>
ShiftName - such as '7am nurse 1' '7am nurse 2'
ShiftStart - standard start/finish times for shifts
ShiftEnd
tblSchedule
=========
ScheduleID<PK>
Date
PersonnelID<FK>
ShiftID<FK>
ShiftStartTime - to be used when there is a variance in shift start/end times
ShiftEndTime - such as when the 0700 RN will start at 0800 instead.
I would appreciate any guidance you can provide. Thanks again.
Michael