A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

clock on form



 
 
Thread Tools Display Modes
  #1  
Old August 12th, 2004, 06:59 PM
external usenet poster
 
Posts: n/a
Default clock on form

Hello,

How do you place or set up a running clock on a form.Do
you use a command buttom or label and what would be the
properties setting?I have tried to use a label and set a
timer with the on event but i am doing something wrong.
Thanks
  #2  
Old August 12th, 2004, 07:19 PM
fredg
external usenet poster
 
Posts: n/a
Default clock on form

On Thu, 12 Aug 2004 10:59:27 -0700,
wrote:

Hello,

How do you place or set up a running clock on a form.Do
you use a command buttom or label and what would be the
properties setting?I have tried to use a label and set a
timer with the on event but i am doing something wrong.
Thanks


You can use a label, but for me an unbound text control works as well.
Add an Unbound text control to your form.
Set it's Format property to a hh:nn:ss
Name this control "ShowTime"

Set the Form's Timer Interval to 1000

Set the Form's Timer event to:
[ShowTime] = Time

If you do use a label, then use:
LabelName.Caption = Format(Time,"hh:nn:ss")

--
Fred
Please only reply to this newsgroup.
I do not reply to personal email.
 




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Default values to load up automatically in a form based on value entered in another form Anthony Dowd Using Forms 8 August 12th, 2004 08:53 AM
dlookup miaplacidus Using Forms 9 August 5th, 2004 09:16 PM
How to insert a control displaying real time (clock) in a form !! Medo65 Using Forms 1 July 26th, 2004 04:00 AM
Searching Records Melissa Lambino New Users 6 July 20th, 2004 04:51 AM
Form Doesn't Go To New Record Steve New Users 15 May 16th, 2004 04:33 PM


All times are GMT +1. The time now is 12:49 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.