spartansFC
Programmer
Hi
I have a list of children that may appear in different financial years and I need to work out their age based off this,
in the example below Child1 was born on 12 Feb 2008 and appears in 3 financial years.
Is there a way to calculate his next birthday based off Calc_Year and then therefore be able to calculate his age.
fin_year and calc_year are automatically pulled through in the query as the user selects a term on the form, i.e "spring 2011"
which on the table is associated with fin_year and calc_year
The only but I'm struggling with is the "next birthday in calc year".
Michael
Code:
[u]Childsname DOB fin_Year calc_Year Next Birthday in calc_Year Age[/u]
Child1 12-Feb-08 2010/11 2010 12-Feb-10 2
Child1 12-Feb-08 2011/12 2011 12-Feb-11 3
Child1 12-Feb-08 2012/13 2012 12-Feb-12 4