How do I display a clock on a form

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

Guest

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?
 
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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top