Results 1 to 2 of 2
  1. #1
    Join Date
    Aug 2004
    Posts
    364

    Unanswered: Query Total expression help

    What is the best expression to put in a query if I want to Total some check boxes? eg If 2 check boxes are ticked that equals 2, if either one is ticked equals 1, if none are ticked equals 0?

    Any ideas for the expression I need to enter?

  2. #2
    Join Date
    Sep 2003
    Location
    MI
    Posts
    3,713
    SELECT SUM(IIF(SomeYesNo=True,1,0)) AS Total FROM ...
    Back to Access ... ADO is not the way to go for speed ...

Posting Permissions

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