I have an Employee data entry program that tracks multiple employees as they perform different tasks throughout the day. I want to be able to have a log of their attendance status throughout the day. The status being "LOGIN", "LUNCH", "LEAVE", "LOGOUT". I can set this up through a form/subform relation to manually set these values, but I want it to happen programatically.
The employee table fields:
pkEmployeeID/Primary Key
empCODE/Text
empNAME/Text
emptitle/Text
empDept/Text
empPassword/Text
fkSecurityID/Long
EmpLockedOut/Yes/No
The status table fields:
pkStatusID
Status
fkEmployeeID
What is the best way to do this? And how do I programatically add the status information based on the primary key of the employee table?
Thanks,
Scott
The employee table fields:
pkEmployeeID/Primary Key
empCODE/Text
empNAME/Text
emptitle/Text
empDept/Text
empPassword/Text
fkSecurityID/Long
EmpLockedOut/Yes/No
The status table fields:
pkStatusID
Status
fkEmployeeID
What is the best way to do this? And how do I programatically add the status information based on the primary key of the employee table?
Thanks,
Scott