|
|
|
|
|
TableColumnSelectOccurrence (Function) In french: TableColonneSelectOccurrence
Warning
From version 16 (56), this feature is kept for backward compatibility. It is recommended to use TableSelectCount.
Returns the number of selected columns found in a Table control. Remark: The Table control must allow the selection mode by column. This option can be configured in the "UI" tab of the description window of control. NbColSelection is int ColNum is int  NbColSelection = TableColumnSelectOccurrence(TABLE_TABLE1) Trace("TableColumnSelectOccurrence = " + NbColSelection)  FOR i = 1 TO NbColSelection ColNum = TableColumnSelect(TABLE_TABLE1,i) Trace("The column " + ColNum + " is selected") END
Syntax
<Result> = TableColumnSelectOccurrence(<Table control>)
<Result>: Integer Number of selected columns. <Table control>: Control name Name of the Table control to be used. Remarks To allow the selection of a column, you must enable in the characteristics of Table control: - the "Columns" selection mode (simple or multiple selection) in the "UI" tab of the description window of the Table control.
- the "Cells" selection mode (multiple selection) in the "UI" tab of the description window of the Table control.
The end user can select the columns by clicking the header of the column (like for a sort).
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|