By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,204 Members | 1,360 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,204 IT Pros & Developers. It's quick & easy.

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

P: 2
I would like to use the Count if Expression for more than one value. =Count(IIf([Status]="Active",0))this 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. :)
Nov 14 '13 #1
Share this Question
Share on Google+
2 Replies

Expert 5K+
P: 8,638
Expand|Select|Wrap|Line Numbers
  1. DCount("*","Table1","[Status]='A' Or [Status]='B' Or [Status]='C'")
Nov 14 '13 #2

P: 2
Thank You for you Help and how do I add the second part
which is a different field?
Nov 14 '13 #3

Post your reply

Sign in to post your reply or Sign up for a free account.