I am trying to write a query that will sum an item with 2 criterias. I have a database that has a table called tblIssues with columns that have IssueType and FBCS. IssueType is a combo box with 3 choices, 1=true Pres, 2= Verbal, 3= CRL. The FBCS column is a Yes/No box. I need to sum the number of TruePres (1) issues that are tagged FBCS (yes). I can sum the True pres issues like this:
TruePres: Sum(IIF([tbleIssues].[IssueType]=1,1,0))
But when I add the 2nd Criteria (the FBCS part) I get errors. Any suggestions on how I can add this 2nd criteria to sum. I know I can create more queries and then add them together, but would like to simplify this. Any assistance is greatly appreciated.
Thanks
David V
TruePres: Sum(IIF([tbleIssues].[IssueType]=1,1,0))
But when I add the 2nd Criteria (the FBCS part) I get errors. Any suggestions on how I can add this 2nd criteria to sum. I know I can create more queries and then add them together, but would like to simplify this. Any assistance is greatly appreciated.
Thanks
David V