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