counting in a report

sadie

Registered User.
Local time
Today, 03:59
Joined
Apr 11, 2003
Messages
115
I hace a report with students
I havegrouped them by age and now I want to count the number of males and the number of females and have it show on the report
 
Are you running your report from a query? If so, make any extra field(expression) in a query for count male or female.

hth,

Michael
 
I am running it form a query and I will try what you suggest
 
I'm not sure of the syntax for counting males and females in the expression
 
Select a field in a query that has male or female records. In the criteria place this code Like [What Gender?]. When you run the query you should get a parameter pop up that will ask What Gender? Type in Male or Female.

hth,

Michael
 
Thanks, but is there a way to do this on the report and not in a query
 
Connect your query to a report. Place a blank text box in a report header for count gender total.

control source =Sum([fieldname])

If you're having trouble than post your database and I'll take a look at it.


hth,

Michael
 

Users who are viewing this thread

Back
Top Bottom