M
moorej2
I have a calculated value, AGE based on the following standard formula;
Age:
DateDiff("yyyy",[birthdt],Now())+Int(Format(Now(),"mmdd")<Format([birthdt],"mmdd"))
I am currently selecting this in a query, but what I would really like
is the AGE_RANGE value from another table, tblAgeBands, which takes the
following format;
age_min
age_max
age_band (PK)
Unfortunately, I don't know how to write the SQL or form the query so
that the corresponding AGE_BAND value is selected where AGE_MIN < AGE >
AGE_MAX or if it's even possible.
Any help appreciated.
Jon
Age:
DateDiff("yyyy",[birthdt],Now())+Int(Format(Now(),"mmdd")<Format([birthdt],"mmdd"))
I am currently selecting this in a query, but what I would really like
is the AGE_RANGE value from another table, tblAgeBands, which takes the
following format;
age_min
age_max
age_band (PK)
Unfortunately, I don't know how to write the SQL or form the query so
that the corresponding AGE_BAND value is selected where AGE_MIN < AGE >
AGE_MAX or if it's even possible.
Any help appreciated.
Jon