B
bhipwell via AccessMonster.com
I need to determine a perons age dependent upon whether or not the
individual's birthday MONTH has / will occur prior to a predetermined date
this year. Some examples:
Example 1:
Birthday: 1/15/79
Specified Date: 3/1/2009
Answer = Person is 29
Example 2:
Birthday: 1/15/79
Specificed Date: 1/1/2009
Answer = Person is 30
Example 3:
Birthday: 2/15/79
Specified Date: 2/1/09
Answer = Person is 29 (calculation can't make him 30 until the month has
ended)
Please help. This code will be in a query, non SQL formula is easiest for me.
(FYI, this is used to help calculate costs for various age brackets, the
company only changes the rates for the persons age once a year, the specified
date)
Thanks!
BH
individual's birthday MONTH has / will occur prior to a predetermined date
this year. Some examples:
Example 1:
Birthday: 1/15/79
Specified Date: 3/1/2009
Answer = Person is 29
Example 2:
Birthday: 1/15/79
Specificed Date: 1/1/2009
Answer = Person is 30
Example 3:
Birthday: 2/15/79
Specified Date: 2/1/09
Answer = Person is 29 (calculation can't make him 30 until the month has
ended)
Please help. This code will be in a query, non SQL formula is easiest for me.
(FYI, this is used to help calculate costs for various age brackets, the
company only changes the rates for the persons age once a year, the specified
date)
Thanks!
BH