Dr. Evil Posted October 15, 2012 Posted October 15, 2012 HELLO! I worked up the attached calculation that works off getting current date and comparing to set deadline date, resulting in a user intuitive label. Example; "Due Today, Tomorrow, Wednesday, Etc..." I would like to use this calculated label... BUT!.. I have a concern: Sense the calculation works of the Get (CurrentDate) it will not have a correct result unless it has in real time got the CurrentDate. Example; deadline field was set sometime in the past and record was then viewed sometime in the future, label would not have correct results unless forced to re-check real time CurrentDate. How can I keep this from happening? Maybe... I could run a script that forces an update upon opeing file, but there will be thousands of records to check. Plus, this fmp solution is shared over a network, constantly running on a server, never closed. Note: running FMP only, not server. Is any of this practical? Is there an easy way? THANKS for any help! :)
Dr. Evil Posted October 15, 2012 Author Posted October 15, 2012 Make the calculation unstored. Simple enough, I just do not have much experience and did not know if I could trust the "[X] Do not store calculation" to work properly. Thank you for the reinsurance!!!
comment Posted October 15, 2012 Posted October 15, 2012 Well, it will work properly in the sense that it will recalculate whenever the screen is refreshed. OTOH, if you're just sitting and staring at the screen, it will not switch by itself come midnight.
Dr. Evil Posted October 16, 2012 Author Posted October 16, 2012 (edited) Not that this would likely happen, but to ensure, I could attached a script trigger to the deadline field, to run a housekeeping refresh script when modified. Tho the modify it's self would prompt the calculation to update, never mind. Edited October 16, 2012 by Dr. Evil
Recommended Posts
This topic is 4479 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now