Toggle menu
876
3.8K
30.2K
279.1K
Catglobe Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Question selectedOptionCount: Difference between revisions

From Catglobe Wiki
Cg_pham (talk | contribs)
No edit summary
No edit summary
 
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 08: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