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 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 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 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 the 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 the 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.
Example
HeaderSubscript is int
 
// Retrieves the subscript of the break header for the selected row
HeaderSubscript = BRK_BreakHeader.BreakSubscript()
// Adds a row into the Table control
RowSubscript is int
RowSubscript = TABLE_Articles.AddLine(ProductName, ...
SupplierName, UnitPrice)
 
// Retrieves the subscript of the break header for the added row
HeaderSubscript = BRK_BreakHeader.BreakSubscript(RowSubscript)
 
// Fixes the value of the static found in the break
TABLE_Articles[HeaderSubscript].STC_Supplier = SupplierName
Syntax
<Result> = <Break header/footer>.BreakSubscript([<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>: Control name
Name of break header or footer to use.
<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

<Table>.BreakSubscript can be used on a browsing or memory Table control,
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.
We advise you to call <Table>.BreakSubscript once the content of the Table control is entirely displayed. Otherwise, the subscripts returned by <Table>.BreakSubscript may not correspond to the subscripts actually displayed in the control.
Component : wd240obj.dll
Minimum version required
  • Version 23
This page is also available for…
Comments
Click [Add] to post a comment