L
Lee Grant
Hi folks,
I'm really new to Access and have stumbled across a problem. I'm working on
a database that holds information about about a running event. I'm trying
to calculate how old a runner will be on the day of the race (ageonraceday)
The formula I'm trying to work with is:
=Format(DateDiff("d",[Runner Information]![dob],[Event]![dateofevent]),"yy""
years ""m"" months ""d"" days""")
I keep getting the error message #Name?, which I think is Access trying to
tell me that it doesn't like the two variables.
The two variables are:
dob - date of birth of the runner.
dateofevent - date of the race.
As certain runners come back year after year, I want to be able to calculate
the dates using variables and not embedding a static date into the equation.
I'm not too sure where to go next and I wondered if someone may point me in
the correct direction!
Kindest Regards,
Lee
I'm really new to Access and have stumbled across a problem. I'm working on
a database that holds information about about a running event. I'm trying
to calculate how old a runner will be on the day of the race (ageonraceday)
The formula I'm trying to work with is:
=Format(DateDiff("d",[Runner Information]![dob],[Event]![dateofevent]),"yy""
years ""m"" months ""d"" days""")
I keep getting the error message #Name?, which I think is Access trying to
tell me that it doesn't like the two variables.
The two variables are:
dob - date of birth of the runner.
dateofevent - date of the race.
As certain runners come back year after year, I want to be able to calculate
the dates using variables and not embedding a static date into the equation.
I'm not too sure where to go next and I wondered if someone may point me in
the correct direction!
Kindest Regards,
Lee