Summary

  • Thread starter Thread starter Hendrix
  • Start date Start date
H

Hendrix

I have a table with a large amount of data and I would like to break
it down into categories. I have to about 1000 clients of different
ages. And I would like to count all the clients btw 1 and 30 and 31-40
and 41 and 50 etc...Is that possible?
 
I have a table with a large amount of data and I would like to break
it down into categories. I have to about 1000 clients of different
ages. And I would like to count all the clients btw 1 and 30 and 31-40
and 41 and 50 etc...Is that possible?

One way would be to create a little AgeCategory table with fields Low, High,
and Category (e.g. 1; 30; "30 and under"; 31; 40; "Thirties" and so on).

Create a Query adding your table and this AgeCategory table with a criterion
on the age field (which I hope is calculated from the birthdate, not stored!)
of
= AgeCategory.Low AND <= AgeCategory.High
--

John W. Vinson [MVP]
Microsoft's replacements for these newsgroups:
http://social.msdn.microsoft.com/Forums/en-US/accessdev/
http://social.answers.microsoft.com/Forums/en-US/addbuz/
and see also http://www.utteraccess.com
 
Back
Top