PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
  • 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 index of the break header and footer for a given break in a Table control.
The index of the break header for a given break also corresponds to the index of the first row in this break.
The index of the break footer for a given break also corresponds to the index of the last row in this break.
Versions 20 and later
WEBDEV - Server codeLinux This function is now available for WEBDEV sites in Linux.
WEBDEV - Server codeWindows This function is now available for WEBDEV sites in Windows.
WEBDEV - Server codePHP This function is now available for PHP sites.
WEBDEV - Browser code This function is now available in browser code.
New in version 20
WEBDEV - Server codeLinux This function is now available for WEBDEV sites in Linux.
WEBDEV - Server codeWindows This function is now available for WEBDEV sites in Windows.
WEBDEV - Server codePHP This function is now available for PHP sites.
WEBDEV - Browser code This function is now available in browser code.
WEBDEV - Server codeLinux This function is now available for WEBDEV sites in Linux.
WEBDEV - Server codeWindows This function is now available for WEBDEV sites in Windows.
WEBDEV - Server codePHP This function is now available for PHP sites.
WEBDEV - Browser code This function is now available in browser code.
Versions 22 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 22
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.
HeaderIndex is int
 
// Retrieves the index of the break header for the selected row
HeaderIndex = TableBreakSubscript(BRK_BreakHeader)
// Adds a row into the Table control
RowIndex is int
RowIndex = TableAddLine(TABLE_Articles, ProductName, ...
SupplierName, UnitPrice)
 
// Retrieves the index of the break header for the added row
HeaderIndex = TableBreakSubscript(BRK_BreakHeader, RowIndex)
 
// Fixes the value of the text in the break
TABLE_Articles[HeaderIndex].STC_Supplier = SupplierName
Syntax
<Result> = TableBreakSubscript(<Break header/footer> [, <Index>])
<Result>: Integer
  • Index of the break header/footer in the break containing the row whose index is <Index>,
  • 0 if an error occurs. To get more details on the error, use ErrorInfo with the errMessage constant.
<Break header/footer>: Control name
Name of the break header or footer to be used.
This parameter can correspond to:
  • <Name of break header/footer>.
  • <Table control>.<Name of break header/footer>.
<Index>: Optional integer
Index of one of the rows in the desired break.
If this parameter is not specified, the index of the break header/footer in the break containing the current row is returned.
Remarks

Use conditions

TableBreakSubscript can be used on a Table control based on a data file or populated programmatically.
WEBDEV - Server codePHP This function is available for Ajax Table controls and classic Table controls.
WEBDEV - Browser code This function is available for Table controls in browser mode only.
It is recommended to call TableBreakSubscript once the content of the Table control is entirely displayed. Otherwise, the indices returned by TableBreakSubscript may not correspond to the actual indices displayed in the control
Component: wd270obj.dll
Minimum version required
  • Version 15
This page is also available for…
Comments
Click [Add] to post a comment