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  

How to insert a control displaying real time (clock) in a form !!



 
 
Thread Tools Display Modes
  #1  
Old July 26th, 2004, 01:40 AM
Medo65
external usenet poster
 
Posts: n/a
Default How to insert a control displaying real time (clock) in a form !!

Hello.
I want to put a control on a form that displays the real
time - or to be more precise - a clock, resembling that
in the system tray.
Is there any idea. Ideas without having to buy or
registre a control are MORE welcomed !!
Thanks .
  #2  
Old July 26th, 2004, 04:00 AM
fredg
external usenet poster
 
Posts: n/a
Default How to insert a control displaying real time (clock) in a form !!

On Sun, 25 Jul 2004 17:40:33 -0700, Medo65 wrote:

Hello.
I want to put a control on a form that displays the real
time - or to be more precise - a clock, resembling that
in the system tray.
Is there any idea. Ideas without having to buy or
registre a control are MORE welcomed !!
Thanks .


Add an unbound control to your form
Set it's Format property to whatever Time format you wish.

Set the Form's Timer Interval event to 1000
Code the form's Timer event to:
[ControlName] = Time
--
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
Use first record found in expression? CASJAS Running & Setting Up Queries 17 July 22nd, 2004 09:21 PM
Creating a Form. Should I use Control or Form Toolbar? Amy General Discussion 7 July 1st, 2004 02:36 PM
Recordset in subform based on field in parent form Lyn General Discussion 15 June 14th, 2004 03:10 PM
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 04:15 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.