string TopicText(int inQuesIdx, int inTopicIdx)
Description
Relevant only for Grid question types
Gets and index of a question and an index of a topic and returns its text
Parameters
The following is a list of parameters the functions receives
Parameter | Type | Description |
---|---|---|
inQuesIdx | int | Question index |
inTopicIdx | int | Topic index |
Return Type
string
Examples
If we have a Single Choice Grid question indexed 4, and we would like to use it's text from topic number 8, we can use this function
as follows: TopicText(QRef(4),8);
Then, you can use the returned text which is a string containing the relevant topic text
Comments
Please sign in to leave a comment.