Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Count on boolean column

Status
Not open for further replies.

resdevlabs

Programmer
Jun 11, 2003
26
US
I need have a boolean column in my report for which I need to count the number of TRUE values and the number of FALSE values. I have two groups - 1) Subject 2)MetSLA (the boolean column on which I need the counts). I want the counts to appear on the footer of group 1. I have tried
Code:
Count({@MetSLA},{@Subject},"every Yes")
, but I receive the message "The summary/running total field could not be created".

Anyone have any ideas on how to get this done?

Thanks in advance,
Rob
 
One option is to create a formula:
---------------------------
IF {@MetSLA} THEN 1 ELSE 0
---------------------------

Then, SUM that formula.

Cheers,
- Ido

CUT, Visual CUT, and DataLink Viewer:
view, e-mail, export, burst, distribute, and schedule Crystal Reports.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top