command button to insert time in a text box

B

bburden

i am trying to make an time clock for employees to keep their time and use
system date and time to make sure everyone is on same time, i have already
set up the database to caculate the weekly time if entered manually, but
would like to have command button so when they want to clock in and out it
will do it automatically
 
S

Steve Schapel

Bburden,

Depending on the data requirements, you could put code on the Click
event of the command button, like this...

Me.YourTimeField = Now

or...
Me.YourTimeField = Time
 
Top