Access

  • Thread starter Thread starter Guest
  • Start date Start date
Can access calculate a date of birth in a table? If so how?

Only if you have information in the table (such as the exact age at a
given date, or the longitude of the Sun, Moon and Jupiter at the time
of birth), say.

Perhaps you meant to ask, can you calculate the current age *given*
the date of birth? if so:

Age: DateDiff("yyyy", [DOB], Date()) - IIF(Format([DOB], "mmdd") >
Format(Date(), "mmdd"), 1, 0)

John W. Vinson[MVP]
 

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