PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • 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
TableBreakSubscript (Function)
In French: TableIndiceRupture
Returns the subscript of the break header and footer for a given break in a Table control.
The subscript of the break header for a given break also corresponds to the subscript of the first row in this break.
The subscript of the break footer for a given break also corresponds to the subscript of the last row in this break.
Versions 20 and later
WEBDEV - Server codeLinux This function is now available for the WEBDEV sites in Linux.
WEBDEV - Server codeWindows This function is now available for the WEBDEV sites in Windows.
WEBDEV - Server codePHP This function is now available for the 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 the WEBDEV sites in Linux.
WEBDEV - Server codeWindows This function is now available for the WEBDEV sites in Windows.
WEBDEV - Server codePHP This function is now available for the PHP sites.
WEBDEV - Browser code This function is now available in browser code.
WEBDEV - Server codeLinux This function is now available for the WEBDEV sites in Linux.
WEBDEV - Server codeWindows This function is now available for the WEBDEV sites in Windows.
WEBDEV - Server codePHP This function is now available for the PHP sites.
WEBDEV - Browser code This function is now available in browser code.
Versions 22 and later
Android This function is now available for the Android applications.
iPhone/iPad This function is now available for the iPhone/iPad applications.
New in version 22
Android This function is now available for the Android applications.
iPhone/iPad This function is now available for the iPhone/iPad applications.
Android This function is now available for the Android applications.
iPhone/iPad This function is now available for the iPhone/iPad applications.
HeaderSubscript is int

// Retrieves the subscript of the break header for the selected row
HeaderSubscript = TableBreakSubscript(BRK_BreakHeader)
// Adds a row into the Table control
RowSubscript is int
RowSubscript = TableAddLine(TABLE_Articles, ProductName, ...
SupplierName, UnitPrice)

// Retrieves the subscript of the break header for the added row
HeaderSubscript = TableBreakSubscript(BRK_BreakHeader, RowSubscript)

// Fixes the value of the static found in the break
TABLE_Articles[HeaderSubscript].STC_Supplier = SupplierName
Syntax
<Result> = TableBreakSubscript(<Break Header/Footer> [, <Subscript>])
<Result>: Integer
  • Subscript of the break header/footer in the break containing the row whose subscript is <Subscript>,
  • 0 if an error occurred. To find out the error details, use ErrorInfo associated with the errMessage constant.
<Break Header/Footer>: Character string (with or without quotes)
Name of break header or footer to use.
This parameter can correspond to:
  • <Name of break header/footer>.
  • <Table name>.<Name of break header/footer>.
<Subscript>: Optional integer
Subscript of one of the rows found in the requested break.
If this parameter is not specified, the subscript of the break header/footer in the break containing the current row is returned.
Remarks

Use conditions

TableBreakSubscript can be used on a browsing or memory Table control,
WEBDEV - Server codePHP This function is available for the Ajax Table controls and for the Classic Table controls.
WEBDEV - Browser code This function is available for the browser Table controls only.
We advise you to call TableBreakSubscript once the content of the Table control is entirely displayed. Otherwise, the subscripts returned by TableBreakSubscript may not correspond to the subscripts actually displayed in the control.
Components
WINDEVReports and Queries wd230obj.dll
WEBDEV - Server code wd230page.dll
WEBDEV - Browser code WDJS.DLL
Linux wd230obj.so
Android wd230android.jar
Minimum required version
  • Version 15
This page is also available for…
Comments
Click [Add] to post a comment