PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
  • Use conditions
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Returns the subscript of a column found in a Table or Treeview Table control.
Versions 20 and later
Android This function is now available for Android applications.
iPhone/iPad This function is now available for iPhone/iPad applications.
New in version 20
Android This function is now available for Android applications.
iPhone/iPad This function is now available for iPhone/iPad applications.
Android This function is now available for Android applications.
iPhone/iPad This function is now available for iPhone/iPad applications.
Example
Windows Mobile
// Subscript of "Ref" column in the "TABLE_Product" control
// The display order is taken into account
ResColumnSubscript = TableColumnSubscript(TABLE_Product, "Ref", 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. If the column is invisible and if the tcpDisplay constant is used, the column subscript is set to 0.
<Table control>: Control name
Name of Table or TreeView Table control to use.
If this parameter corresponds to an empty string (""), TableColumnSubscript handles the control to which the current event belongs.
<Column>: Control name
Name of column to use.
<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 multiselection control.
AndroidiPhone/iPad The TreeView Table control is not available.
Component : wd250obj.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment