Difference between revisions of "Question selectedOptionCount"
Cg huyphong (talk | contribs) |
|||
(2 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
− | [[Category: | + | [[Category:Questionnaire_Functions]] |
− | | + | {{HelpFiles}} |
====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 09: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