Description: Returns the text of a select-list item identified by its database ID.
Calling convention: CIP_GetSelectListItemTextByID("SelectListName": String, SelectListItemID: Integer, ["Language": String]): String
Parameters:
SelectListName: registered select-list name.
SelectListItemID: item database ID.
Language: optional language description used to request a localized caption.
Returns: Item text as String. Unknown lists or item IDs return an empty String; explicit Variant NULL arguments are not handled consistently.
Availability: Default.
Example:
ItemText := CIP_GetSelectListItemTextByID("Status", 2, "English");