IndexByText Method
The IndexByText method returns the sequence number of the row in the ChoiceItems array that contains the specified textvalue in the EnumText column.
This method has the following syntax:
integer = ChoiceList.IndexByText(textvalue = nvarchar)
This method has the following parameter:
textvalue
Specifies the textvalue
If more than one row contains the specified textvalue, this method returns only the first row. If there are no rows with that value, this method returns zero.
Last modified date: 06/25/2024