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