ValueByIndex Method
The ValueByIndex method returns the EnumValue column value from the row at the specified sequence number in the ChoiceItems array.
This method has the following syntax:
integer = ChoiceList.ValueByIndex(indexvalue = integer)
This method has the following parameter:
indexvalue
Specifies the sequence number of the desired row. If the row does not exist, the method returns CL_INVALIDVALUE.
You also can use the following syntax to reference the EnumValue value:
ChoiceList.ChoiceItems[indexvalue].EnumValue
indexvalue
Specifies the sequence number of the desired row