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
WindowsLinuxJavaReportes y ConsultasCódigo de Usuario (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Código Navegador
WINDEV Mobile
AndroidWidget Android iPhone/iPadIOS WidgetApple WatchMac Catalyst
Otros
Procedimientos almacenados
Advertencia
A partir de la versión 28 (75), Table.BreakSubscript se conserva por motivos de compatibilidad. Esta función ha sido reemplazada por <Table>.BreakIndex.
Returns the index of the break header and footer for a given break in a Table control.
The index of the header for a given break also corresponds to the index of the first row in this break.
The index of the footer for a given break also corresponds to the index of the last row in this break.
Ejemplo
IndiceHaut is int
// Récupère l'indice du haut de rupture de la ligne sélectionnée
IndiceHaut = RUPT_HautDeRupture.IndiceRupture()
// Ajoute une ligne dans le champ Table
IndiceLigne is int
IndiceLigne = TABLE_Articles.AjouteLigne(NomProduit, NomFournisseur, PrixUnitaire)
// Récupère l'indice du haut de rupture de la ligne ajoutée
IndiceHaut = RUPT_HautDeRupture.IndiceRupture(IndiceLigne)
// Fixe la valeur du libellé contenu dans la rupture
TABLE_Articles[IndiceHaut].LIB_Fournisseur = NomFournisseur
Sintaxis
<Result> = <Break header/footer>.BreakIndex([<Index>])
<Result>: Integro
  • 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>: Nombre del control
Name of the break header or footer to be used.
<Index>: Entero opcional
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

<Table>.BreakIndex can be used on a Table control based on a data file or populated programmatically.
WEBDEV - Código ServidorPHP This function is available for Table controls in AJAX mode and for Table controls in classic mode.
WEBDEV - Código Navegador This function is only available for Table fields in Browser mode.
It is recommended to call <Table>.BreakIndex once the content of the Table control is entirely displayed. Otherwise, the indexes returned by <Table>.BreakIndex may not correspond to the actual indexes displayed in the control
Componente: wd300obj.dll
Versión mínima requerida
  • Versión 23
Esta página también está disponible para…
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 30/09/2024

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