I'm almost done with a db ive been designing to store information for a restaurant.
i have a prob and can't think of solution... but it's prob easy!!
I have a shifts table which records the dates and shifts that employees are going to work this takes the format of Employee Name, Shiftdate, starttime, finishtime.
This all works fine
However...
I would like to now include a record of dates that employees have booked off. and somehow have this link to shifts. so that:
If Mr x gets a record put in booked off that says Mr X, shiftdate
when it comes to writing the shifts Mr x could be assigned a shift on that date!?
sounds easy eh? i'd love your suggestions. just i've got really far and would have a play but worried about ballsing it up
cheers
i have a prob and can't think of solution... but it's prob easy!!
I have a shifts table which records the dates and shifts that employees are going to work this takes the format of Employee Name, Shiftdate, starttime, finishtime.
This all works fine
However...
I would like to now include a record of dates that employees have booked off. and somehow have this link to shifts. so that:
If Mr x gets a record put in booked off that says Mr X, shiftdate
when it comes to writing the shifts Mr x could be assigned a shift on that date!?
sounds easy eh? i'd love your suggestions. just i've got really far and would have a play but worried about ballsing it up
cheers