 | 
31-Oct-2005, 11:19 AM
|  | Guest | | | | | | | | | | Calculating Age from a Specific Date I need help. I'm getting very frustrated. I've read all the posts and
nothing is working. I'm trying to calculate DOB from a specific date Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/information-technology/6203-calculating-age-from-a-specific-date.html
4/30/2006. I've added a unbound text box in my form and set the control
source to the following expression:
=DateDiff("yyyy",[DOB],#4/30/2006#)+(Format([DOB],"mmdd")>Format(#4/30/2006#,"mmdd"))
[DOB] is a field in my table for date of birth. But nothing is happening.
When I transfer back to the Form view to data enter. #Name? appears in the
box where my calculated date should be. Is there another way to calculate
the age from a specific date? What the heck am I doing wrong? I've been Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=6203
working on this forever.
Thanks Got anything to share on This Topic? Why not share your immediate thoughts/reaction with us! Login Now! or Sign Up Today! to share your views... Gurfateh! | 
31-Oct-2005, 11:19 AM
|  | Guest | | | | | | | | | | Re: Calculating Age from a Specific Date Cris
Try this website http://www.rogersaccesslibrary.com/d...MonthsDays.mdbReference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=6203
and download the zip file.
This will give the age of a person by using the start date as Date of Birth
and End Date to determine the person age on a particular day.
--
Allan Murphy
Email: allanmurphy@unwired.com.au
"Cris" wrote in message
news:6F812418-01BB-49A0-A10B-CB84CFD5DD48@microsoft.com...
> I need help. I'm getting very frustrated. I've read all the posts and
> nothing is working. I'm trying to calculate DOB from a specific date
> 4/30/2006. I've added a unbound text box in my form and set the control
> source to the following expression:
>
=DateDiff("yyyy",[DOB],#4/30/2006#)+(Format([DOB],"mmdd")>Format(#4/30/2006#
,"mmdd"))
>
> [DOB] is a field in my table for date of birth. But nothing is happening.
> When I transfer back to the Form view to data enter. #Name? appears in
the
> box where my calculated date should be. Is there another way to calculate Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=6203
> the age from a specific date? What the heck am I doing wrong? I've been
> working on this forever.
>
> Thanks | 
31-Oct-2005, 11:19 AM
|  | Guest | | | | | | | | | | RE: Calculating Age from a Specific Date See my answer in your last post
--
If I answered your question, please mark it as an answer. That way, it will Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=6203
stay saved for a longer time, so other can benifit from it.
Good luck
"Cris" wrote:
> I need help. I'm getting very frustrated. I've read all the posts and
> nothing is working. I'm trying to calculate DOB from a specific date
> 4/30/2006. I've added a unbound text box in my form and set the control
> source to the following expression:
> =DateDiff("yyyy",[DOB],#4/30/2006#)+(Format([DOB],"mmdd")>Format(#4/30/2006#,"mmdd"))
>
> [DOB] is a field in my table for date of birth. But nothing is happening.
> When I transfer back to the Form view to data enter. #Name? appears in the
> box where my calculated date should be. Is there another way to calculate
> the age from a specific date? What the heck am I doing wrong? I've been Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=6203
> working on this forever.
>
> Thanks | 
31-Oct-2005, 11:19 AM
|  | Guest | | | | | | | | | | Re: Calculating Age from a Specific Date I opended up the properties of one of the folmulas you had here for years and
it gave me what I needed to calculate my age. Thank you so much. I couldn't
figure it out the other way. This was much more simple. Math. Go figure.
I never even thought about doing it that way. Thanks again
"Allan Murphy" wrote:
> Cris
>
> Try this website
> http://www.rogersaccesslibrary.com/d...MonthsDays.mdb
> and download the zip file.
>
> This will give the age of a person by using the start date as Date of Birth
> and End Date to determine the person age on a particular day.
>
> --
> Allan Murphy
> Email: allanmurphy@unwired.com.au Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=6203
>
> "Cris" wrote in message
> news:6F812418-01BB-49A0-A10B-CB84CFD5DD48@microsoft.com...
> > I need help. I'm getting very frustrated. I've read all the posts and
> > nothing is working. I'm trying to calculate DOB from a specific date
> > 4/30/2006. I've added a unbound text box in my form and set the control
> > source to the following expression:
> >
> =DateDiff("yyyy",[DOB],#4/30/2006#)+(Format([DOB],"mmdd")>Format(#4/30/2006#
> ,"mmdd"))
> >
> > [DOB] is a field in my table for date of birth. But nothing is happening. Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=6203
> > When I transfer back to the Form view to data enter. #Name? appears in
> the
> > box where my calculated date should be. Is there another way to calculate
> > the age from a specific date? What the heck am I doing wrong? I've been
> > working on this forever.
> >
> > Thanks
>
>
> | 
Support Us! Become a Promoter! | | Gurfateh ji, you can become a SPN Promoter by Donating as little as $10 each month. With limited resources & high operational costs, your donations make it possible for us to deliver a quality website and spread the teachings of the Sri Guru Granth Sahib Ji, to serve & uplift humanity. Every contribution counts. Donate Generously. Gurfateh! | (View-All)
Members who have read this thread : 0
| | There are no names to display. | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Tools | Search | | | | | Display Modes | Linear Mode |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is On | | | | » Active Discussions | | | | | | | Panjabi Today 13:43 PM 14 Replies, 282 Views | | | | | | | | | | | | | | | | | | | | | | | » Books You Should Read... | | | |