Was this helpful?
IndexByValue Method
The IndexByValue method returns the sequence number of the row in the ChoiceItems array that contains the specified enumvalue in the EnumValue column.
This method has the following syntax:
integer = ChoiceList.IndexByValue(enumvalue = integer)
This method has the following parameter:
enumvalue
Specifies the enumvalue
If more than one row contains the specified enumvalue, this method returns only the first row. If there are no rows with that value, it returns zero.
Last modified date: 12/20/2023