My table contains customer information, including name, birthdate, order number, order date, and order year. I would like to create an Access query in Design View that will provide a customer list including each customer’s AGE as March 1 of the order year.
If the order year is hard coded into the Age formula below, it works without any problem:
Age: Int((#3/1/2017#-[birth_date])/365)
However, I want to use the order_yr variable, as follows, but this results in an error:
Age: Int((#3/1/[order_yr])#-[birth_date])/365)
Any suggestions??
Thanks!!!