PC Review


Reply
Thread Tools Rate Thread

How do I display a clock on a form

 
 
=?Utf-8?B?SGluZHNleQ==?=
Guest
Posts: n/a
 
      28th Mar 2007
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?
 
Reply With Quote
 
 
 
 
Allen Browne
Guest
Posts: n/a
 
      28th Mar 2007
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.

--
Allen Browne - Microsoft MVP. Perth, Western Australia
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"Hindsey" <(E-Mail Removed)> wrote in message
news:5AB77070-3BF8-4B53-9016-(E-Mail Removed)...
>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?


 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Is there a way to display a real time clock on an Access form? =?Utf-8?B?c3BvYzIy?= Microsoft Access Forms 1 28th Mar 2007 09:10 PM
RE: How do I display a clock on a form =?Utf-8?B?RGFuaWVs?= Microsoft Access 1 28th Mar 2007 01:03 AM
Clock - Access Clock on Form =?Utf-8?B?cXVlc3Rpb25uYWlyZSBkYXRhYmFzZSBhbmFseXN0 Microsoft Access Forms 3 8th Nov 2005 12:47 AM
Clock Display Chuck Humphrey Windows XP General 3 28th Oct 2004 08:23 PM
Clock display with day? Vern Windows XP Basics 3 6th Dec 2003 06:25 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:07 AM.