Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Current Time

Status
Not open for further replies.

natemclain

Technical User
Jun 19, 2001
68
US
Is there a way to make the clock or time on a layout tick by with every second? I was just curious if this could be done. I dont know why I mess with all the goofy things. Just stuff that I think would be cool on a app.

Nate
 
It can be done with an script in an loop as long the file is open.

There is an sample file on fmfiles.com.

Just take a look.

HTH

JW
 
Hi there,

in ScriptMaker:

Loop
set field["whatever_field_name", "status(CurrentTime)"]
Pause/Resume Script["0:00:01]
End Loop


It works, but be forewarded it DOES NOT play well with other scripts if you are running multiple scripts at the same time. Also, I am building a real-time web-based sign in system and it does not keep ticking if the database is queried by a constantly refreshing webpage. Hope I helped.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top