Difference between revisions of "Question selectedOptionCount"

From Catglobe Wiki
Jump to: navigation, search
Line 1: Line 1:
[[Category:Question_selectedOptionCount]]
+
[[Category:Questionnaire_Functions]]
 

 

  

Revision as of 08:48, 22 March 2011



Question_selectedOptionCount

Get the number of selected answer options

Syntax

Question_selectedOptionCount(qualifiedLabel)

or

Question_selectedOptionCount(qualifiedLabel, gridNumber)

Arguments

  • qualifiedLabel: is a string expression. It is the question's label, which might contain the questionnaire's qualified name
  • gridNumber: is a number expression. It is the sub question's index

Return value

number

Example

number n1 = Question_selectedOptionCount("5312BMW\\5312bmw_SALES_CATI_2008\\S_OUTLET_ID");

number n2 = Question_selectedOptionCount("5312BMW\\5312bmw_SALES_CATI_2008\\S_OUTLET_ID2", 0);

Availability

Version 5.6