Clock

B

Broads

How in microsoft access can i program a clock which
updates automatically without the user having re-open the
form to get a new time, at current i can only get a
static clock which will only change every time you
open/refresh the form.

Thanx to anyone who can help!
 
W

Wayne Morgan

With the form open in design view go to the Event tab of the form's
properties sheet. Set the Timer Interval to the number of milliseconds you
want to update the clock (1000=1 second) and in the OnTimer event run the
code to update the clock.
 
O

OzPete

To add to Wayne's response, the code for OnTimer:

Me.Refresh

will update the clock, but it will also update everything else on the
form....

OzPete

With the form open in design view go to the Event tab of the form's
properties sheet. Set the Timer Interval to the number of milliseconds you
want to update the clock (1000=1 second) and in the OnTimer event run the
code to update the clock.
 

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