G
Guest
hi Guys,
Can a count() return a value depending on the condition of the checkbox
field it is summing? I am counting the number of records per name with a
checkbox field is true using a where clause. But I also want to count another
checkbox depending on the first. Is that possible in one query? here's what
i am thinking:
SELECT [FA Name],
Count([BSA FA]),
Count([Business Case] Where [Business Case]=true)
FROM [WM Cases]
WHERE ([BSA FA]=true)
GROUP BY [FA Name];
I want tot he count the # of true business cases from the results of the
true BSA FA.
Can a count() return a value depending on the condition of the checkbox
field it is summing? I am counting the number of records per name with a
checkbox field is true using a where clause. But I also want to count another
checkbox depending on the first. Is that possible in one query? here's what
i am thinking:
SELECT [FA Name],
Count([BSA FA]),
Count([Business Case] Where [Business Case]=true)
FROM [WM Cases]
WHERE ([BSA FA]=true)
GROUP BY [FA Name];
I want tot he count the # of true business cases from the results of the
true BSA FA.