|
|
|
|
|
- Use conditions
- The different types of column indexes
<Table>.EnumColumn (Function) In french: <Table>.EnumèreColonne Returns the name of a column found in a Table or Treeview Table control.
ResNomColonne = TABLE_TableProduit.EnumèreColonne(3)
Syntax
<Result> = <Table control>.EnumColumn(<Column index>)
<Result>: Character string - Column name.
- Empty string ("") if <Column index> is equal to the number of columns in the Table control + 1.
<Table control>: Control name Name of the Table control to be used. <Column index>: Integer Index of the column, between 1 and the number of columns in the Table control + 1. A WLanguage error occurs if this parameter is greater than the number of columns found in the Table control + 1.To find out the number of columns in a Table control, use <Table>.Count. Remarks Use conditions <Table>.EnumColumn can be used on: - a Table control based on a data file or populated programmatically.
- a TreeView Table control based on a data file or populated programmatically.
- single-selection or multi-selection controls,
The different types of column indexes There are 2 types of indexes for columns: - Visible position index: column index when the window is run.
- Creation index: column index when the field is created in the window editor.
These indexes change if the user moves the columns. <Table>.EnumColumn uses the column creation index.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|