D
Dragan
Hi.
Do you know how to create the clock on forms in Access?
I create a Label called lblClock on the form and write this code.
Private Sub Form_Timer()
Me!lblClock.Caption = Format(Now, "dddd, mmmm yyyy, hh:mm:ss AMPM")
End Sub
Private Sub cmdClockStart_Click()
Me.TimerInterval = 1000
End Sub
Private Sub cmdClockEnd_Click()
Me.TimerInterval = 0
End Sub
These code working but I most always click on the label lblClock.
I just want to the clock with normaly time on the form, no break or no
click.
Thanks
Do you know how to create the clock on forms in Access?
I create a Label called lblClock on the form and write this code.
Private Sub Form_Timer()
Me!lblClock.Caption = Format(Now, "dddd, mmmm yyyy, hh:mm:ss AMPM")
End Sub
Private Sub cmdClockStart_Click()
Me.TimerInterval = 1000
End Sub
Private Sub cmdClockEnd_Click()
Me.TimerInterval = 0
End Sub
These code working but I most always click on the label lblClock.
I just want to the clock with normaly time on the form, no break or no
click.
Thanks