use query to find age

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

i have a database and need to use a criteria to calculate the age for all the
fields already in the table/database, does anybody know what code i should
use?
many thanks
 
paul_88 said:
i have a database and need to use a criteria to calculate the age for all
the
fields already in the table/database, does anybody know what code i should
use?
many thanks

Try
Age: DateDiff("yyyy";[Born];Date())

Svein
 
unless there is a time stamp for the record or each field,
there is no way that you can calculate the age of the
fields. if there is a time stamp then in the query header
put
AGE:Date()-[TimeStamp]
 

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