G
Guest
I am very new at this and can't seem to figure something out. I am using the
common formula for calculating ages. ( I added it as a calculated field in my
query and I have a DOB field so I thought it would work.)
DateDiff("yyyy",[DOB],Date())+(Format([DOB],"mmdd")>Format(Date(),"mmdd"))
But I am getting the message "syntax error (comma) in expression when I try
to run the query. Not sure why or how to resolve the problem. I have followed
a couple of threads after searching on the error but they haven't helped me
understand what to take out or what to replace the commas with, if anything.
I am using access 2002(XP)
Thanks
common formula for calculating ages. ( I added it as a calculated field in my
query and I have a DOB field so I thought it would work.)
DateDiff("yyyy",[DOB],Date())+(Format([DOB],"mmdd")>Format(Date(),"mmdd"))
But I am getting the message "syntax error (comma) in expression when I try
to run the query. Not sure why or how to resolve the problem. I have followed
a couple of threads after searching on the error but they haven't helped me
understand what to take out or what to replace the commas with, if anything.
I am using access 2002(XP)
Thanks