Counting field values in a Database Report using the Count and IIF expressions

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Jmundle
    New Member
    • Nov 2013
    • 2

    Counting field values in a Database Report using the Count and IIF expressions

    I would like to use the Count if Expression for more than one value. =Count(IIf([Status]="Active",0))th is works for 1 value
    I also need to add another field

    Example: Count if Status = A or B or C and count if Deploy Date is greater than today.

    Thank You in advance. :)
  • ADezii
    Recognized Expert Expert
    • Apr 2006
    • 8834

    #2
    Code:
    DCount("*","Table1","[Status]='A' Or [Status]='B' Or [Status]='C'")

    Comment

    • Jmundle
      New Member
      • Nov 2013
      • 2

      #3
      ADezii,
      Thank You for you Help and how do I add the second part
      which is a different field?
      Last edited by zmbd; Nov 19 '13, 12:58 PM. Reason: [z{No Edit: Jmundle, New Question, New Thread Please (^-^) See FAQ }]

      Comment

      Working...