Summary

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?
 
J

John W. Vinson

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top