Page 1 of 1

CountIf doesn't increment on boolean value

Posted: Fri Feb 27, 2009 11:53 am
by fuhrj
I have a function that returns a boolean based on a date that is passed into it. I've verified that the function is returning the correct output.

In a Group footer section, I have this Expression in a textbox

{CountIf(Data1, ReportTable.requestID, IsWalkIn(ReportTable.scheduledDate) == true) }

The counter is always 0 if I set it to true or false.

How do you evaluate for boolean value?

CountIf doesn't increment on boolean value

Posted: Sat Feb 28, 2009 12:48 pm
by Jan
Hello,

Please use following expression:

Code: Select all

{CountIf(Data1, IsWalkIn(ReportTable.scheduledDate)) }
or

Code: Select all

{CountIf(IsWalkIn(ReportTable.scheduledDate)) }
Thank you.

CountIf doesn't increment on boolean value

Posted: Sat Feb 28, 2009 1:38 pm
by fuhrj
Thanks Jan!

I just learned that this worked as well

Code: Select all

{CountIf(Data1,IsWalkIn(ReportData.scheduledDate) == true)}
Is there any documentation on the acceptable properties for this method? It would appear that there are three versions now.

CountIf doesn't increment on boolean value

Posted: Sun Mar 01, 2009 2:28 pm
by Jan
Hello,

Please visit following link:
http://www.stimulsoft.com/Documentation ... ctions.htm

Thank you.