You can sum a true/false expression to get a count. For instance to count the number of females hired after 1/1/2008, you expression in a totals query would be:
Sum(Abs([Gender]="Female" And [HireDate]>#1/1/2008#) )
You could use the above expression as the control source of a text box in a group section by adding "=" ie:
=Sum(Abs([Gender]="Female" And [HireDate]>#1/1/2008#) )
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.