Question : Calculating totals for an option group

I have an option group with 12 possible options.  What I would like to do at the bottom of my report is give a total of how many are in each option.

So If I have 12 people that fall under option 1, 6 under option 2 and 7 under option 3 and so on then the bottom of my report would show:

Total of number for Option 1 = 12
Total of number for Option 2 = 6
Total of number for Option 3 = 7

Is there a way to do this on the report or will I have to do this under the query.

Thanks
John



Answer : Calculating totals for an option group

(Actually you will want to avoid Names with spaces.)
If you have names with spaces you must enclose them in square brackets

=Dcount("[Muster Status]","[tblCrew]","[Muster Status]=" & 1)

(Here I put brackets around "tblCrew" for consistency.)

;-)

Jeff
Random Solutions  
 
programming4us programming4us