J
j9
I have a table with a Chronological Age column, defined as Single, fixed,
with auto decimal places. I have an update query that does a DateDiff
function to calculate and populate the field, based on birthdate and a test
date. The property on the calculated field is Fixed and Auto. Here's the
calculation:
DateDiff("yyyy",[DOB],[DatA])
where DatA is the date of the test (not necessarily today's date)
When I run the query, it updates the chronological age column with values
like 9.00, instead of 9.33. But we need to have the fractional age, instead
of the "whole number" age. I've read through all of the posts and still
can't figure out what I'm doing wrong. I'd like to solve this without doing
VB. Is that possible?
Thanks so much!
with auto decimal places. I have an update query that does a DateDiff
function to calculate and populate the field, based on birthdate and a test
date. The property on the calculated field is Fixed and Auto. Here's the
calculation:
DateDiff("yyyy",[DOB],[DatA])
where DatA is the date of the test (not necessarily today's date)
When I run the query, it updates the chronological age column with values
like 9.00, instead of 9.33. But we need to have the fractional age, instead
of the "whole number" age. I've read through all of the posts and still
can't figure out what I'm doing wrong. I'd like to solve this without doing
VB. Is that possible?
Thanks so much!