S
Sarah McPhillips
Hello,
I'm only new to using Access (as in a few weeks) and I was wondering
if anyone could help me. I want to run a query that will give me the
age of my recorded patients. I have a DOB column and am unsure how to
(1) insert the current date to compare with the DOB of the patients
and; (2)insert the correct information into the function.
I'm predicting that I need the DateDif but I'm not sure how to set it
out correctly in the Query Design. I've previously done this in Excel
with
=(DateDif(E4, TODAY(), "D"))365.25
and wish to achieve the same result.
Can anyone provide an example to assist me or give the command that I
must insert into the design format???
Thanyou for your time and hope to hear some advice!!!
Sarah
I'm only new to using Access (as in a few weeks) and I was wondering
if anyone could help me. I want to run a query that will give me the
age of my recorded patients. I have a DOB column and am unsure how to
(1) insert the current date to compare with the DOB of the patients
and; (2)insert the correct information into the function.
I'm predicting that I need the DateDif but I'm not sure how to set it
out correctly in the Query Design. I've previously done this in Excel
with
=(DateDif(E4, TODAY(), "D"))365.25
and wish to achieve the same result.
Can anyone provide an example to assist me or give the command that I
must insert into the design format???
Thanyou for your time and hope to hear some advice!!!
Sarah