4. System Classes : ChoiceList Class : TextByDisplay Method
 
Share this page                  
TextByDisplay Method
The TextByDisplay method returns the EnumText column value from the row that contains the specified displayvalue in the EnumDisplay column.
This method has the following syntax:
nvarchar = ChoiceList.TextByDisplay(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 an empty string.