Solved

How can I display a Clock ( current time field ) on a FILEMAKER Pro screen layout

Posted on 2009-05-14
11
1,559 Views
Last Modified: 2012-05-07
How can I display a Clock ( current time field ) on a FILEMAKER Pro screen layout.
I want to use this display within a Factory Time and Attendance booking system, This is not a timestamp field but a field that shows the current PC's system time. Is there some type of custom field I can use?
0
Comment
Question by:jverne
  • 6
  • 5
11 Comments
 
LVL 12

Expert Comment

by:North2Alaska
ID: 24383873
You could create a calculation field that does  Get ( CurrentTimeStamp ).  Make the sure that you set the storage options to either "Do not store calculation results" or "Use global storage" if you want the field to always calculate.

Note:  if you don't set it as global it will have to calculate for every record when you first launch the application.  This can be a performance issue if you have a large number of records.
0
 

Author Comment

by:jverne
ID: 24384549
Thats fine when you open the file, get the current time at that instance, but I need a field to continuous display the current time - just like a clock
0
 
LVL 12

Expert Comment

by:North2Alaska
ID: 24384836
Anytime you make a change to a record it will recalculate.  What I have not been able to do in a simple way (there may be scripting/event triggers/etc... that could be used) is to open a layout and see the seconds tick by.
0
Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

 
LVL 12

Expert Comment

by:North2Alaska
ID: 24384953
What level of change would you want this to be? Minutes or Seconds?
0
 

Author Comment

by:jverne
ID: 24384955
Thats exactly what I want - to open a layout and see the seconds tick by, just like at clock.
Is there anyway to link at field to a website which provides GMT - like "NetTime"?
0
 

Author Comment

by:jverne
ID: 24384975
Seconds
0
 
LVL 12

Expert Comment

by:North2Alaska
ID: 24385182
You got me thinking about how to use the web.

Edit your layout and select Insert->Web Viewer...  Select Custom Web Address and put in the web address of your choice.  (I used http://www.time.gov/timezone.cgi?Mountain/d/-7/java)  Bingo.  You now have a clock displayed...
0
 
LVL 12

Expert Comment

by:North2Alaska
ID: 24385208
I forgot to mention.  You can even interact with the web viewer.  So, for example the  site I used has a button that can select a different time zone.  I can click the button and change the zone all from FileMaker.  Very cool...
0
 

Author Comment

by:jverne
ID: 24385321
Wow Its nearly there - I'm getting webpage cannot be displayed - Do you put "" marks around the http address in Custom Web Address setup box
0
 
LVL 12

Accepted Solution

by:
North2Alaska earned 500 total points
ID: 24385467
Here is what is in my Web Address:

"http://www.time.gov/timezone.cgi?Mountain/d/-7/java"

Including the quotes.  But when I entered it, I just copied and pasted, so I think FileMaker took care of the quotes for me.
0
 

Author Closing Comment

by:jverne
ID: 31581385
A Great Solution!! I used a GMT website and it worked - I will be using this solution in other projects - WOW THANK YOU
0

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Conversion Steps for merging and consolidating separate Filemaker files The following is a step-by-step guide for the process of consolidating two or more FileMaker files (version 7 and later) into a single file with multiple tables. Sometimes th…
Having just upgraded from Filemaker 11 to Filemaker 12 over the weekend, we thought we would add some tips for others making the same move.  In general, our installation went without incident. Please note that this is not a replacement for Chapter 5…
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question