How to add running time on a form?

S

Serkan

I add current date and time on a form, but it only shows
the time that was accessed, time is not running. Is there
any way to insert running time on a form?
 
L

losmac

Use Timer object.

Set TimerInterval for the form = 1000 miliseconds

Private Sub Form_Timer()
Me.Text0.Value = Now()
End Sub
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top