How do I display a clock on a form

H

Hindsey

I have an Access form that a Dispatcher will use, and I have a field that
shows the most recent time that one of the units had any activity. Simply
put, I need to have a clock showing the current time show up right above the
list of units & their recent times.

So, does anyone know how I could put an unbound field or some other control
on an Access form that will show the live time continuously updating?
 
A

Allen Browne

Assuming an unbound text box with these properties:
Format Medium Time
Name txtTime
use the Timer event procedure of the form to update it:
Me.txtTime = Now()

Set the form's Timer Interval to 1000 so it updates each second.
 
Top