I have a db containing contacts with a birth date field (call it BDate). I want to count the number of contacts falling within given age ranges. For example, the number of contacts between ages 20 and 24, the number between ages 25 and 29, and so on.
Building a query that calculates ages from Now using DateDiff for a single age range and producing a count of the records within that range is not a problem. What I can't get access to do is produce results for multiple age ranges in the same query.
I appreciate any guidance you can provide. Thanks.
Building a query that calculates ages from Now using DateDiff for a single age range and producing a count of the records within that range is not a problem. What I can't get access to do is produce results for multiple age ranges in the same query.
I appreciate any guidance you can provide. Thanks.