I have downloaded an Access template from microsoft, and am trying to edit it a bit to give me exactly what I need.
(database = Desktop Time Card)
I have changed the field of 'Date Worked' to Date Time Entered, and added an extra 'Date Time Exited' field - I am trying to keep track of visitors into our complex so need to be able to sign them in and out.
I have added an event to the Entry time, dblClick will auto populate Now(). I've also added in the same dblClick of Now() to the Exit time. Unfortunately, when I dblClick the Entry it auto-populates both fields??
Expand|Select|Wrap|Line Numbers
- Private Sub Date_Time_Started_DblClick(Cancel As Integer)
- Me.Date_Time_Started = Now()
- End Sub
- Private Sub Date_Time_Finished_DblClick(Cancel As Integer)
- Me.Date_Time_Finished = Now()
- End Sub