how to automatically update time on a form

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am trying to create a form in Access that automatically updates time.
Basically, I am trying to insert the system clock onto the form that
continuously updates.
 
Create a Calculated Control txtClock in your Form with Control Source:

= Time()

inclusing the equal sign.

Set the Form's Timer Interval to 1000 (milliseconds) and code the Form_Timer
Event like:

Private Sub Form_Timer()
Me.txtClock.Requery
End Sub
 
Back
Top