So grouping by status will not give you the count you need?

 








May God bless you beyond your imagination!
Lonnie Johnson
ProDev, Professional Development of MS Access Databases
Visit me at ==> http://www.prodev.us






 



----- Original Message ----
From: Mike Bisson <[EMAIL PROTECTED]>
To: [email protected]
Sent: Wednesday, January 24, 2007 2:48:53 PM
Subject: [ms_access] Conditional Count in a Totals Query

Hi All,

I am trying to do a conditional "count" in a totals query. The field I need
to perform this on is called "Status". I need to count the records if
"Status" = 2 and then separately, I need to do a count if "Status" =1. I've
tried using different variations of "IIF", but I get syntax errors when I
try to execute the query.

Any help would, as always, be greatly appreciated :)

Thanks :)
============ ========= ========= ========= ====
Mike Bisson, IT / Materials Manager
Carthuplas, Inc.
16 Commerce Drive
Gaffney, SC 29340
Direct: 864-649-2660
Fax: 864-649-2612
[EMAIL PROTECTED] com
http://www.carthupl as.com

[Non-text portions of this message have been removed]





 
____________________________________________________________________________________
Get your own web address.  
Have a HUGE year through Yahoo! Small Business.
http://smallbusiness.yahoo.com/domains/?p=BESTDEAL

[Non-text portions of this message have been removed]

Reply via email to