Date & Time

  • Thread starter Thread starter Craig
  • Start date Start date
C

Craig

Hi

I have a database that is displaying the date & Time on
the start-up page of it. The problem is that i need to go
to another form in the switchboard manager to keep the
time up and running and i want it to "run" without my or
any users intervention.

Can somebody help me, please

Craig
 
Hi

use the forms timer:-

Set the Timer Interval property to say 1000 (this equals 1
second)

Then add code to the On Timer event that updates the form
display. For example, the following code sets the caption
of a label to display the time:-

Private Sub Form_Timer()
Me.lblTime.Caption = Format(Now(), "hh:nn:ss")
End Sub


hth

Chris
 
Hi there

I need to add a timer to my form. I am working on a
database in access and want the time to continually
update. Can someone help me to show me how to add the
timer to your form and to link it to access.

PLEEEEEEEAAAAAAAAAAASSSSSSSS.

Craig
 
Back
Top