Mar 27, 2006 #1 HRHK Programmer Joined Jun 5, 2005 Messages 83 Location 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 Joined Feb 9, 2002 Messages 32,818 Location US Please see Ken Hamady's solution: http://www.kenhamady.com/form06.html -LB Upvote 0 Downvote