Column_Combo_Item_Count - DfBaseEntryList
Returns number of items in the combo form's dropdown list for a column
Type: Function
Return Data Type: integer
Parameters
| Parameter | Type | Description |
|---|---|---|
| iColumn | integer | The column number (0-based) |
Syntax
Function Column_Combo_Item_Count integer iColumn Returns integer
Call Example
Get Column_Combo_Item_Count iColumn to integerVariable
Description
Returns number of items in the combo form's dropdown list for a column.
Sample
This sample gets the number of items in the combo form dropdown list for column 2 of grid object oGrid1 to variable iListItemCount and then displays it in a message box.
Procedure CheckItemCount
integer iListItemCount iColumn
move 2 to iColumn
get Column_Combo_Item_Count of oGrid1 iColumn to iListItemCount
send Info_Box ;
("There are " + string(iListItemCount) + " items in the list for the combo form in column " + string(iColumn)) ;
"Column Combo Item Count"
End_Procedure // CheckItemCount