P
Pete
I wish to keep a track of hours worked by employees, these can be for
various reasons e.g
Training
Sickness
Visits
Bereavement
Paternity
I thought a many to many relationship would do, but I am struggling to get
it to accept duplicate values. Tables I have are:
tblEmployee
ClockNo (Primary Key)
Name
Dept
Shift
tblHoursWorked
ClockNo (Foreign Key)
Reason (Foreign Key)
DateWkd
Comments
tblReason
Reason (Primary Key ) (e.g Training, Sickness etc..)
When I try to assign some hours worked to an employee, If they have already
worked some on Training, I get the error about duplicates. Both ClockNo &
Reason are set to accept Duplicates in tblHoursWorked
Any help would be appreciated
Pete
various reasons e.g
Training
Sickness
Visits
Bereavement
Paternity
I thought a many to many relationship would do, but I am struggling to get
it to accept duplicate values. Tables I have are:
tblEmployee
ClockNo (Primary Key)
Name
Dept
Shift
tblHoursWorked
ClockNo (Foreign Key)
Reason (Foreign Key)
DateWkd
Comments
tblReason
Reason (Primary Key ) (e.g Training, Sickness etc..)
When I try to assign some hours worked to an employee, If they have already
worked some on Training, I get the error about duplicates. Both ClockNo &
Reason are set to accept Duplicates in tblHoursWorked
Any help would be appreciated
Pete