Your formula does not match what I posted.
look at the end. You have ...")>Format(Date),"...
It should be ...")>Format(Date(),"mm...
--
Rick B
I am using the formula you gave me, with the field name ConsumerADOB:
=DateDiff("yyyy",[ConsumerADOB],Date())+(Format([ConsumerADOB],"mmdd")>Forma
t(Date),"mmdd"))
The birthdate IS on the form. That field IS a date field. And I AM using
that field name in my formula.
I have gona to the google groups list like you suggested and they have the
same formulas and steps listed.
:
What formula are you using? Post it here for us.
You DO have the birthdate of the person on your form, right? That field
is
a DATE field, right? You are using that field name in your formula?
--
Rick B
I have read all the other posts, and as I stated, I have tried the
things
they suggest, but it is not working. I have my form created, I put an
unbound control in it and put the formula that is suggested, but when
I
view
my form, it does not give me an age, it says, "#Name?" What am I
doing
wrong?
:
Am I doing something wrong? Well, you don't tell us SPECIFICALLY
what
you
have tried, so we can't answer that question.
The most common way is to add an unbound control to your form and
put
the
following formula in it...
=DateDiff("yyyy",[Birthdate],Date())+(Format([Birthdate],"mmdd")>Format(Date
(),"mmdd"))
Please note, this is asked and answered all the time. In the
future,
I'd
suggest you search for your answers before posting a new thread.
The
easiest way I have found is to go to
www.google.com, click the
"groups"
options, and enter a search string starting with the following...
microsoft.public.access calculate age
--
Rick B
message
It's me again. I'm not sure if I can do this or not, but can I
have
my
Consumer's ages automatically calculated on my forms? I have
tried
doing
what the website suggests and used different expressions, but none
seem to
work. Am I doing something wrong?