"How" depends on how your data is structured.
Given the example you provided, I'll guess that you have a field named
[Sex]
in a table, and that field holds text like "Female".
One way to count those would be to create a query that returns the rowID
(does your table have one?) and [Sex], then convert that query to a
Totals
query, using Group By on [Sex] and Count on the rowID field.
By the way, storing "Female" and "Male" (?and "Undecided") in each record
takes up more space than you need to. If you created a lookup table for
Gender, you could be storing "1" (=Female), "2" (=Male), ...
Or, if the only options you want are Male/Female, then you don't even
need
the lookup table. You could just use a Yes/No field in your table, and
have
the users pick an option on your form.
Good luck!
Regards
Jeff Boyce
Microsoft Office/Access MVP
Emma said:
Yes Jeff I'm trying to get a count of the females
:
Emma
You've described "how"...
"What" are you trying to accomplish? Are you trying to get a count of
the
number of responses to the field entitled [Sex]? ?The number of
responses
that are "Female" to that field?
More info, please...
Regards
Jeff Boyce
Microsoft Office/Access MVP
Hi, I have a query which produces a negative number in
Expr5:[Sex]="Female"
...question 1 how can I make it positive?
question 2... I have a row in the query table called total, (which
adds
all
Expr5 values together), how can I bring this total number into the
report?
question 3.... If I just want to add the Expr5 values in the report
how
can
I do this, as the Sumation button isn't litup?