mkelly
Registered User.
- Local time
- Today, 11:00
- Joined
- Apr 10, 2002
- Messages
- 213
I have a time clock within a production database however it alowes employees to puch in more than once a day. Which in turn destroyes the production information.
Basically they go to the punch in screen and then choose their name from a combo box and then click the time in button.
I have tried the following code so they cannot punch in twice but is does not work.
Any and all help appriciated.
thanks
Private Sub Combo6_Click()
If ([employee sign-in sheet]![Date] = Date() And [employee sign-in sheet]![Employee id] > 0) Then
MsgBox "You have already Punched In Today"
End If
Basically they go to the punch in screen and then choose their name from a combo box and then click the time in button.
I have tried the following code so they cannot punch in twice but is does not work.
Any and all help appriciated.
thanks
Private Sub Combo6_Click()
If ([employee sign-in sheet]![Date] = Date() And [employee sign-in sheet]![Employee id] > 0) Then
MsgBox "You have already Punched In Today"
End If