ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage functions / Controls, pages and windows / Table functions
  • Use conditions
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Enumerates the breaks found in a Table control.
Example
// Liste les ruptures de TABLE_MaTable
sNomRupture is string
bPosition is boolean
nNumCol is int

let i = 1
sDesc is string = TableEnumBreak(TABLE_MaTable, i)
WHILE sDesc <> "" 
	sNomRupture = ExtractString(sDesc, 1, TAB)
	bPosition = ExtractString(sDesc, 2, TAB)
	nNumCol = ExtractString(sDesc, 3, TAB)
   	IF {sNomRupture, indControl}..Visible THEN
		Trace(sNomRupture, bPosition, nNumCol)
	END
	// Rupture suivante
	i++
	sDesc = TableEnumBreak(TABLE_MaTable, i)

END
Syntax
<Result> = TableEnumBreak(<Table control> , <Break index>)
<Result>: Character string
  • Description of the break for the specified index. This description has the following format:
    <Break> + TAB + <Break position> + TAB + <Column number>
    where:
    • <Rupture>: Breakup name.
    • <Position de la rupture> 1 for a break footer and 0 for a break footer.
    • <Numéro de la colonne> Number of the column causing the rupture.
  • Empty string ("") if the Table control does not have any breaks or if <Break index> is equal to the number of breaks in the Table control + 1.
<Table control>: Control name
Name of the Table control to be used.
If this parameter corresponds to an empty string (""), the Table control to which the current process belongs will be used.
<Break index>: Integer
Index of the search break, between 1 and the number of breaks in the Table control + 1.
If this parameter is greater than the number of breaks found in the Table control, the function returns an empty string ("").
Remarks

Use conditions

TableEnumBreak can be used on a Table control based on a data file or populated programmatically.
Component: wd300obj.dll
Minimum version required
  • Version 22
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 03/28/2025

Send a report | Local help