A
AlineVincent
Guest
Hello,
i have a table that has a field with the birthdate of all members. I want to know how many members are between 15 and 40 years old, how many are between 40 and 50, between 50 and 70.
I also would like to put these informations into a graph in order to see the distribution of the ages.
Is there an immediate way to graph these distributions or do i need to create a query which contains all the data to graph?
I tried to write a criteria for a query using the dateadd function in this way :
BETWEEN DATE() AND DATEADD("yyyy",-35,DATE())
but it seems impossible to make it work. I tried to put ";" instead of "," but it didn't work.
I would really appreciate any help! Thanks
i have a table that has a field with the birthdate of all members. I want to know how many members are between 15 and 40 years old, how many are between 40 and 50, between 50 and 70.
I also would like to put these informations into a graph in order to see the distribution of the ages.
Is there an immediate way to graph these distributions or do i need to create a query which contains all the data to graph?
I tried to write a criteria for a query using the dateadd function in this way :
BETWEEN DATE() AND DATEADD("yyyy",-35,DATE())
but it seems impossible to make it work. I tried to put ";" instead of "," but it didn't work.
I would really appreciate any help! Thanks