Question selectedOptionCount

From Catglobe Wiki
Jump to: navigation, search



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