Create a label on your form, I would call it lblClock or lblTime... something you fancy,
Then on the form properties, Set timer interval to 1, then On Timer event add the following code.
[VBA]
Private Sub Form_Timer()
Me!lblClock.Caption = Format(Now, "dddd, mmm d yyyy, hh:mm:ss AMPM")
End Sub
[/VBA]





Someday I'll understand everything...
Reply With Quote