Skip to content

Column_Combo_Value - DfBaseEntryList

Returns the value of a dropdown list item in the combo form for a column

Type: Function
Return Data Type: string

Parameters

Parameter Type Description
iColumn integer The column number (0-based)
iListItem integer The item number to return the value of (0-based)

Syntax

Function Column_Combo_Value integer iColumn integer iListItem Returns string

Call Example

Get Column_Combo_Value iColumn iListItem to stringVariable

Description

Returns the value of a dropdown list item in the combo form for a column. This returns the value of the unsorted list, even if Column_Combo_Sort_State for the column is True..

Sample

This sample gets the value of item 5 in the combo form dropdown list for column 2 of grid object oGrid1 to variable sComboValue and then displays it in a message box.

Procedure CheckItemCount
    integer iColumn iItem
    string sComboValue

    move 2 to iColumn
    move 5 to iItem
    get Column_Combo_Value of oGrid1 iColumn iItem to sComboValue

    send Info_Box sComboValue "Combo Value"
End_Procedure  // CheckItemCount

Return Value

Value of a dropdown list item.