input date of birth and display age

  • Thread starter Thread starter Keith Bemis
  • Start date Start date
K

Keith Bemis

I have a New Patient form and we have date field on it
to input DOB , can I make a box next to it that will
display that patients age automatically we need to keep
both on the form DOB and age...thanks for any help....
Keith
 
I have a New Patient form and we have date field on it
to input DOB , can I make a box next to it that will
display that patients age automatically we need to keep
both on the form DOB and age...thanks for any help....
Keith

As Control Source of an unbound control:

=DateDiff("yyyy",[DOB],Date())-IIf(Format([DOB],"mmdd")>Format(Date(),
"mmdd"),1,0)
 

Ask a Question

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.

Ask a Question

Back
Top