I need to produce a report from my database that outputs in the following form:
Total Records
212
Under 50 37.26%
79
Over 50 62.74%
133
Age Range
21 to 29 0.47%
1
30 to 39 13.68%
29
40 to 49 23.11%
49
50 to 59 37.74%
80
60 to 69 21.70%
46
70 to 79 3.30%
7
I have a query that gives me an age for each person in the database and I have a crosstab query that counts the number of people who are (for example)age 35 = 6, age 48 = 7, etc.
How do I group the records as above and produce the percentages in a report? Do I need another query? I can do it in a spreadsheet but I don't know how to get Access to do it. The actual formatting isn't that important to me. Just the results.
Total Records
212
Under 50 37.26%
79
Over 50 62.74%
133
Age Range
21 to 29 0.47%
1
30 to 39 13.68%
29
40 to 49 23.11%
49
50 to 59 37.74%
80
60 to 69 21.70%
46
70 to 79 3.30%
7
I have a query that gives me an age for each person in the database and I have a crosstab query that counts the number of people who are (for example)age 35 = 6, age 48 = 7, etc.
How do I group the records as above and produce the percentages in a report? Do I need another query? I can do it in a spreadsheet but I don't know how to get Access to do it. The actual formatting isn't that important to me. Just the results.