Difference between revisions of "CountAnswer"

From Catglobe Wiki
Jump to: navigation, search
(jrfconvert import)
 
 
Line 1: Line 1:
[[Category:HelpBooks]]
+
[[Category:Functions_Used_in_where_Expressions]]
 

 

  
====countAnswer====
+
==countAnswer==
  
 
Counts the number of answers given that fulfill the stated conditions. This differs from the "count" expressions in that each value in the multicolumn will count for one answer, where the "count" function just counts the multi answer as one value.
 
Counts the number of answers given that fulfill the stated conditions. This differs from the "count" expressions in that each value in the multicolumn will count for one answer, where the "count" function just counts the multi answer as one value.
Line 27: Line 27:
  
 
Version 5.8.1
 
Version 5.8.1
__NOTOC__
+
 
 
<!-- imported from file: 8114.htm-->
 
<!-- imported from file: 8114.htm-->

Latest revision as of 08:12, 17 February 2012



countAnswer

Counts the number of answers given that fulfill the stated conditions. This differs from the "count" expressions in that each value in the multicolumn will count for one answer, where the "count" function just counts the multi answer as one value.

Syntax

countAnswers(question) where XX

Arguments

none

Return type

number

Examples

//count the number of answers in the data table fulfilling the condition

number n = countAnswer() where (true);

Availability

Version 5.8.1