Difference between revisions of "Question selectedOptionCount"

From Catglobe Wiki
Jump to: navigation, search
 
Line 4: Line 4:
 
====Question_selectedOptionCount====
 
====Question_selectedOptionCount====
  
Get the number of selected answer options
+
Get the number of selected answer options of the current answer sheet
  
 
'''Syntax'''
 
'''Syntax'''

Latest revision as of 10:46, 30 December 2011



Question_selectedOptionCount

Get the number of selected answer options of the current answer sheet

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