How can i make the time continuous on my switchboard

burton

Registered User.
Local time
Today, 09:27
Joined
Nov 15, 2002
Messages
63
the time on my switchboard updates only when you select a button. it doesn't change time when you leave it. i used the insert time and date function. can anybody help?
 
Are you talking about a ticking clock?

If you set the form's TimerInterval to 1000 and the form's OnTimer() event to:

YourControl = Time()

then the time should update every second.
 
how do i set the forms timer interval
 
On the form's properties, near the bottom there's Timer Interval
 
Or in code:

Me.TimerInterval = 1000
 
you know where you put YourControl = Time() would i have to insert a blank textbox?
or how else would i do it?
 
Personally, I would use a label on the form

lblYourLabel.Caption = Time()
 
i still don't know how to do it.
i make a label called time.
set the the timer interval to 1000.
what do i set the on timer too?
do i have to create a macro?
 
Have a look at this attachment.

You shouldn't be making a label called Time as it is reserved by Access.
 

Attachments

Thanks for posting but i have managed to do it now.
there was an error in the code.
 

Users who are viewing this thread

Back
Top Bottom