G
Guest
How can I take the Birth dates in my Date of Birth field to come up with an
Age in the Age field, and can that auto populate?
Age in the Age field, and can that auto populate?
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Rick B said:Use...
DateDiff("yyyy",[Birthdate],Date())+(Format([Birthdate],"mmdd")>Format(Date(
),"mmdd"))
Note: This is a very common question. You should try searching for
previous posts before posting a new thread in a newsgroup. That is the
reason that previous posts are saved.
Rick B
Madhivanan said:SELECT round( DATEDIFF('d','16/5/2002',date())/365,2)
Madhivanan
HRMan said:Can this be done in the Table Design View?
Rick B said:Use...
DateDiff("yyyy",[Birthdate],Date())+(Format([Birthdate],"mmdd")>Format(Date(
),"mmdd"))
Note: This is a very common question. You should try searching for
previous posts before posting a new thread in a newsgroup. That is the
reason that previous posts are saved.
Rick B
Madhivanan said:SELECT round( DATEDIFF('d','16/5/2002',date())/365,2)
Madhivanan
-----Original Message-----
No, you do it in a query, form. or report. Age is a point in time.
Storing it would make no sense. What happens when the person ages?
Rick B
(e-mail address removed)...news:CB5E1FD2-B42B-4C3D-96A7-([Birthdate],"mmdd")>Format(Date( ...Can this be done in the Table Design View?
DateDiff("yyyy",[Birthdate],Date())+(FormatRick B said:Use...
.
Derek said:We were using the same formulas referred to in these forums and were
getting odd results, like negative age values and/or ?#NAME errors,
so we came up with this code: =(38108-[DOB])/365 where 38108 is the
date value for 05/01/2004 as a constant date (you can get the date
value for any year in Excel by formatting the cell to general
number). Since we needed to know a person's age as of a specific
date.
Just trying to be helfpul.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.