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