AnsweredIter

bool AnsweredIter(int inQuesIdx, int inIteration)

Description

Determines if a question was answered or not in a specific iteration

Parameters

The following is a list of parameters the functions receives 

Parameter Type Description
inQuesIdx Int32 Question Index
inIteration Int32 Iteration Index

 

Return Type

bool

Overloads

List of overloads for this function

bool AnsweredIter(int inQuesIdx, int inIteration, bool inTakeNullIntoAccount)

bool AnsweredIter(int inQuesIdx, string inIteration)

bool AnsweredIter(int inQuesIdx, string inIteration, bool inTakeNullIntoAccount)

Parameters for overloads:

Parameter Type Description
inQuesIdx Int32 Question Index
inIteration Int32 Iteration Index
inTakeNullIntoAccount bool To consider 'null response' questions as "answered", write: false
inIteration string Iterations Indexes (Nested Loops)

 

Overload Example

If question index 10 was originally answered under iteration index 2, but later was set as "null response" under iteration index 2, AnsweredIter(QRef(10), 2, true) will return 'false' (As if the question was not answered). AnsweredIter(QRef(10), 2, false) will return 'true' (Indicating the question was indeed originally answered and have data, although it is set as "Null response").

To learn more on the "Null response" setting and how it is set, click here.

 

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

0 comments

Please sign in to leave a comment.