Jump to content
Sign in to follow this  
ABCRobstown

Wher oh Where has status gone?

Recommended Posts

I'm new to FMP 8, and I'm having trouble with my formulas. For example to Calculate and age:

(Year(Status(CurrentDate)) - Year(DOB) - If(Status(CurrentDate) < Date(Month(DOB), Day(DOB), Year(Status(CurrentDate))), 1, 0)) & " Yrs, " &

(Mod(Month(Status(CurrentDate)) - Month(DOB) + 12 - If(Day(Status(CurrentDate)) < Day(DOB), 1, 0), 12)) & " Mnths, " &

(Today- Date(Month(Status(CurrentDate)) - (Day(DOB) > Day(Status(CurrentDate))), Day(DOB), Year(Today))) & " Dys "

This formula is no longer accepted. Can you give me a new formula for this?

Thanks

Share this post


Link to post
Share on other sites

Hi

change all occurrences of "Status(Current Date)" and "ToDay" with Get ( CurrentDate )

... and all commas with ";"

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

By using this site, you agree to our Terms of Use.