Re: Calculating values from an option group

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Duane Hookom (duanehookom_at_NoSpamHotmail.com)
Date: 02/14/05


Date: Mon, 14 Feb 2005 16:48:46 -0600

Try a text box with a control source like:
=Sum(Abs([Gender] = 1) )
This assumes your option group value is a 1 for either male or female. You
may need to edit this.

-- 
Duane Hookom
MS Access MVP
--
"Proffy" <Proffy@discussions.microsoft.com> wrote in message 
news:52C854C0-965C-4AE3-8E18-408D3A4CFE0E@microsoft.com...
> Hi. I have a question. In my database I have an option group (gender) and 
> I
> want to calculate the total for each of them separetedly, like 10 
> students, 3
> males and 7 females, in my report. All I can get is the total for both
> together. Appreciate your kindness..
> Odir 


Relevant Pages

  • Re: =Iff(([Me]![Gender])="M","Male","Female")
    ... > "Female", and needs to display either male of female based on the value ... You cannot use the Me keyword in an Access control source. ...
    (comp.databases.ms-access)
  • Option group Question
    ... I have a option group M F and is stored into a field called gender. ... I also have a 2 text boxes on a form one called male one called female ... the option group it will display an X in the Text box called Female. ...
    (comp.databases.ms-access)
  • Re: Option group Question
    ... >I have a option group M F and is stored into a field called gender. ... > will display an X in in the text box called male if user selects F from ... > the option group it will display an X in the Text box called Female. ...
    (comp.databases.ms-access)
  • Re: A reminder of what men on this group are fighting against!
    ... (Society for Cutting Up Men) ... The male is a biological accident: ... gene is an incomplete X (female) gene, that is, it has an incomplete set ... the male spends his life attempting to ...
    (soc.men)
  • A reminder of what men on this group are fighting against!
    ... (Society for Cutting Up Men) ... The male is a biological accident: ... gene is an incomplete X (female) gene, that is, it has an incomplete set ... the male spends his life attempting to ...
    (soc.men)