Employee time punch form

K

Keith

I have a table containing two fields - Employee_ID and Time_Stamp.

I've already created a form that scans in Employee_IDs; and once any
Employee_ID is scanned in, the ID and scanned time is recorded to the table.
In addition to what it already does, the form needs to populate the
employee's punch time records for the current week.

For example: (current date and time is Wednesday 9:02 am)

(Form view before update)
Employee ID: ___________________

(Form view after update)
Employee ID: 1001 (Scanned)

-------------------------------------
Employee ID: 1001
Mon: 9:00 am
Mon: 5:00 pm
Tue: 8:59 am
Tue: 5:01 pm
Wed: 9:02 am
 
G

golfinray

In the table, I would have my times set up, like time arrived, time departed,
etc. Then just have command buttons on your form for, say, time in time out.
You should use the Onclick event of the command button. Right click on the
button, go to properties, event, and select that. Then type on the arrived
button:
Me.arrived=Now()
On the departed button:
Me.departed=now()
That would save the times to the tables. Now it is just a matter ogf
creating a report with your arrived and departed values and totals.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top