ABCRobstown Posted April 12, 2007 Share Posted April 12, 2007 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 Link to comment Share on other sites More sharing options...
Stuart Taylor Posted April 12, 2007 Share Posted April 12, 2007 HERE is a custom function that says that it does this calculation. Link to comment Share on other sites More sharing options...
Raybaudi Posted April 12, 2007 Share Posted April 12, 2007 Hi change all occurrences of "Status(Current Date)" and "ToDay" with Get ( CurrentDate ) ... and all commas with ";" Link to comment Share on other sites More sharing options...
Recommended Posts
This topic is 6216 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