PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
This content has been translated automatically. Click here to view the French version.
  • Use conditions
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Returns the subscript of a column found in a Table or Treeview Table control.
Example
Reports and Queries
// Indice de la colonne "Réf" du champ Table "TABLE_Produit"
// L'ordre d'affichage est pris en compte
ResIndiceColonne = TableColumnSubscript(TABLE_Produit, "Réf", tcpDisplay)
Syntax
<Result> = TableColumnSubscript(<Table control> , <Column> , <Order>)
<Result>: Integer
Subscript of column:
  • The subscript of first column is set to 1.
  • The invisible columns are also listed.
<Table control>: Control name
Name of the Table or TreeView Table control to be used.
If this parameter is an empty string (""), the TableColumnSubscript function handles the control to which the current event belongs.
<Column>: Character string
Name of the column to be used.
<Order>: Integer constant
Specifies the order of relevant columns:
tcpDisplayOrder in which the columns are displayed at run time.
tcpCreationOrder in which the columns have been created when describing the Table control.

Remarks

Use conditions

TableColumnSubscript can be used on:
  • a browsing or memory control,
  • a single-selection or multi-selection control.
Component: wd270obj.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment