Results 1 to 3 of 3
  1. #1
    4 Star Lounger
    Join Date
    May 2001
    Location
    Oxfordshire
    Posts
    456
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Count 'check box' in Query (2000)

    I'm trying to do a 'count' of checked [img]/forums/images/smilies/smile.gif[/img] check boxes, that are in a table, using a standard query. All I seem to get is the total number.

    All help gratefully recieved [img]/forums/images/smilies/biggrin.gif[/img]

  2. #2
    Gold Lounger
    Join Date
    Feb 2001
    Location
    Sint Niklaas, Belgium
    Posts
    2,778
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Count 'check box' in Query (2000)

    In the query enter an expression field:
    Expr1: IIf(MyYesNoField = True,1,0)
    then Sum instead of Count
    Francois

  3. #3
    4 Star Lounger
    Join Date
    May 2001
    Location
    Oxfordshire
    Posts
    456
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Count 'check box' in Query (2000)

    Thank you very much Francois, that's done the trick very nicely.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •