G
Guest
Good afternoon, group!
I have a simple bundy clock application where employees should enter their
ID numbers via keyboard ( we don't have chronolog/swiping machines). My
database has a table named TIME with the following fields:
Time_ID (Autonumber)
DateWorked (Date/Time)
Am_In(Date/Time) default value is TimeValue(Now())
Am_Out (Date/Time) default value is 12:00 Pm
Pm_In (Date/Time) default value is 13:00
Pm_Out (Date/Time) default value is TimeValue(Now())
Now, how can I instruct the program to save the current time when they press
the enter key after typing their ID number without manually keying in the
time?
Here's how the user interface look:
The opening form is an unbound form where they enter their ID Number. After
pressing the enter key, a form named "DTR" opens. The DTR form contains the
employee's IDNumber, Photo, name and position. The form DTR also has a
subform named Time subform where Time in/Time Out is located.
Please help and thank you very much!
I have a simple bundy clock application where employees should enter their
ID numbers via keyboard ( we don't have chronolog/swiping machines). My
database has a table named TIME with the following fields:
Time_ID (Autonumber)
DateWorked (Date/Time)
Am_In(Date/Time) default value is TimeValue(Now())
Am_Out (Date/Time) default value is 12:00 Pm
Pm_In (Date/Time) default value is 13:00
Pm_Out (Date/Time) default value is TimeValue(Now())
Now, how can I instruct the program to save the current time when they press
the enter key after typing their ID number without manually keying in the
time?
Here's how the user interface look:
The opening form is an unbound form where they enter their ID Number. After
pressing the enter key, a form named "DTR" opens. The DTR form contains the
employee's IDNumber, Photo, name and position. The form DTR also has a
subform named Time subform where Time in/Time Out is located.
Please help and thank you very much!