Mar 27, 2006 #1 HRHK Programmer Jun 5, 2005 83 US How do I correctly calculate age from data of birth in CR? I can do following in Access but CR doesn't recognize the format function. Thanks. DateDiff("yyyy",{my_age.birth_dte} , Now())+Int(format(Now(),"mmdd")<Format({my_age.birth_dte},"mmdd"))
How do I correctly calculate age from data of birth in CR? I can do following in Access but CR doesn't recognize the format function. Thanks. DateDiff("yyyy",{my_age.birth_dte} , Now())+Int(format(Now(),"mmdd")<Format({my_age.birth_dte},"mmdd"))
Mar 27, 2006 #2 lbass Technical User Feb 9, 2002 32,816 US Please see Ken Hamady's solution: http://www.kenhamady.com/form06.html -LB Upvote 0 Downvote