Poida Posted March 27, 2003 Posted March 27, 2003 Can anyone tell me if it is possible to have a field that tells me the current age of a person in Years and Months from a Date of Birth Field?? Many thanx in antici.............. pation Poida
Lee Smith Posted March 27, 2003 Posted March 27, 2003 Here is one. NumToText(Year(Today) - Year(Birthday) - Case(Today< Date(Month(Birthday), Day(Birthday), Year(Today)), 1, 0)) & " Years, " & NumToText(Mod(Month(Today) - Month(Birthday) + 12 - Case(Day(Today) < Day(Birthday), 1, 0), 12)) & " Months, " & NumToText(Day(Today) - Day(Birthday) + Case(Day(Today) >= Day(Birthday), 0, Day(Today- Day(Today)) < Day(Birthday), Day(Birthday), Day(Today- Day(Today)))) & " Days" Lee
Poida Posted March 27, 2003 Author Posted March 27, 2003 Thankyou Thankyou Thankyou Thankyou Thankyou Thankyou Thankyou Thankyou Thankyou Thankyou Thankyou Thankyou Thankyou Thankyou Thankyou Thankyou Thankyou Thankyou Thankyou Thankyou Thankyou Thankyou Thankyou Thankyou Thankyou Thankyou Thankyou Thankyou Thankyou Thankyou Thankyou Thankyou Thankyou Thankyou Thankyou Thankyou Thankyou Thankyou Thankyou Thankyou Thankyou Thankyou Thankyou Thankyou Thankyou Thankyou Thankyou Thankyou Thankyou Thankyou Thankyou Thankyou Thankyou Thankyou Thankyou Thankyou Thankyou Thankyou Thankyou Thankyou Thankyou Thankyou Thankyou Thankyou Thankyou Thankyou Thankyou Thankyou Thankyou Thankyou Thankyou Thankyou Thankyou Thankyou Thankyou Thankyou Thankyou Thankyou Thankyou Thankyou Thankyou
Vaughan Posted March 27, 2003 Posted March 27, 2003 AK! Don't use Today, use the Status(CurrentDate) function.
Recommended Posts
This topic is 7940 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