John Chamberlain Posted August 4, 2014 Posted August 4, 2014 I have a field that is supposed to change based on the current date, but it does not. The calculation is as follows: Case (CAT'S AGE < 152; "KITTEN"; "ADULT") with the result being TEXT, and CAT'S AGE is defined as (Get(CurrentDate) - DATE OF BIRTH) with the result being a NUMBER When I enter a new record, and a date of birth, the calculation inserts the proper result. But what I want it to do is automatically update based on the current date whenever I open the file. In other words when the current date is 152 days or later from the date of birth the field should change from KITTEN to ADULT automatically. The way it is working now the calculation works properly when the date of birth is firstentered, but the KITTEN/ADULT status does not change even when the difference between the two dates is greater than 152 days. Mac, OS 10.9.4, FMP 11 Advanced TIA
comment Posted August 4, 2014 Posted August 4, 2014 CAT'S AGE is defined as (Get(CurrentDate) - DATE OF BIRTH) with the result being a NUMBER Make sure this field is unstored.
John Chamberlain Posted August 4, 2014 Author Posted August 4, 2014 I think that does it - I had the KITTEN/ADULT Status unstored, but not the CAT"S AGE - Thanks for your help
Recommended Posts
This topic is 3821 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