GetDataValue

The GetDataValue returns the descriptive value associated with a data value in the list.

Syntax

Objectname.GetDataValue(CodeValue)

<Object> is an expression that evaluates to an instance of a Component Enabler connection object.

<CodeValue> is a string value containing a code value.

Returns

The descriptive value associated with the descriptive value.

Example

Dim Branchlist as LINCList
Set BranchList = LINCAPP.GetLINCList("*.BRANCHES")
sName = BranchList.GetDataValue("3")

In this example, if the list *.BRANCHES contains the list of towns shown above, sName contains the value Oxford.