AnswerCollection.GetRptCount Method

This method gets the number for each repeat and any nested repeats.

Syntax

int GetRptCount ( int answerIndex , int repeatIndex1 , int repeatIndex2 , int repeatIndex3 , int repeatIndex4 )

Parameters Description
answerIndex The index into the AnswerCollection.
repeatIndex1 [optional] The first repeat index
repeatIndex2 [optional] The second repeat index
repeatIndex3  [optional] The third repeat index
repeatIndex4 [optional] The fourth repeat index

Return Value

The number for each repeat and any nested repeats.

Example

ac.GetRptCount(parent)