Click or drag to resize
IUserAccessiableAnswerChoiceIter Method (Int32, Int32, Int32)
Relevent mainly for single choice grid and numeric choice grid questions, that were included inside a loop chapter. Returns a DVar value type, of the index (in a single choice grid) or the text (in a numeric grid) of the answer coded for inChoiceIdx in inQuesIdx, during iteration inIter.

Namespace: SurveyToGo.UserLogic.Interfaces
Assembly: UserLogicInt.Pocket (in UserLogicInt.Pocket.dll) Version: 1.0.4.0
Syntax
C#
DVar AnswerChoiceIter(
	int inQuesIdx,
	int inChoiceIdx,
	int inIter
)

Parameters

inQuesIdx
Type: SystemInt32
Index of question
inChoiceIdx
Type: SystemInt32
Index of topic
inIter
Type: SystemInt32
Index of iteration

Return Value

Type: DVar
DVar type value
Examples
AnswerChoiceIter(QRef(4),3,7), in case question index 4 is a single choicegrid question, will return the index of the answer that was coded in topic number 3, during iteration number 7.
See Also