AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Este contenido se ha traducido automáticamente.  Haga clic aquí  para ver la versión en inglés.
Ayuda / WLanguage / Funciones WLanguage / Controles, páginas y ventanas / Funciones Tabla
  • Use conditions
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReportes y ConsultasCódigo de Usuario (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Código Navegador
WINDEV Mobile
AndroidWidget Android iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Otros
Procedimientos almacenados
Advertencia
A partir de la versión 28 (75), TableBreakSubscript se conserva por motivos de compatibilidad. Esta función ha sido reemplazada por TableBreakIndex.
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.
IndiceHaut is int
// Récupère l'indice du haut de rupture de la ligne sélectionnée
IndiceHaut = TableBreakIndex(RUPT_HautDeRupture)
// Ajoute une ligne dans le champ Table
IndiceLigne is int
IndiceLigne = TableAddLine(TABLE_Articles, NomProduit, NomFournisseur, PrixUnitaire)
// Récupère l'indice du haut de rupture de la ligne ajoutée
IndiceHaut = TableBreakIndex(RUPT_HautDeRupture, IndiceLigne)
// Fixe la valeur du libellé contenu dans la rupture
TABLE_Articles[IndiceHaut].LIB_Fournisseur = NomFournisseur
Sintaxis
<Result> = TableBreakIndex(<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.
Observaciones

Use conditions

TableBreakIndex can be used on a Table control based on a data file or populated programmatically.
It is recommended to call TableBreakIndex once the content of the Table control is entirely displayed. Otherwise, the indexes returned by TableBreakIndex may not correspond to the actual indexes displayed in the control
Clasificación Lógica de negocio / UI: Código UI
Componente: wd290obj.dll
Versión mínima requerida
  • Versión 15
Esta página también está disponible para…
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 16/05/2024

Señalar un error o enviar una sugerencia | Ayuda local