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 Looper
  • Use conditions
  • Use with a Looper control based on a data file
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
Deletes a row from a Looper control. The RepeatString field is automatically refreshed.
Ejemplo
// Delete row 1
LOOP_ProdLooper.Delete(1)
// Delete the current row
LOOP_ProdLooper.Delete()
Sintaxis
<Looper control>.Delete([<Index>])
<Looper control>: Nombre del control
Name of the Looper control to be used.
<Index>: Entero opcional
Index of the row to delete.
  • If this parameter is not specified, the deletion will be performed in the current row.
  • If <Index> is greater than the number of rows, <Looper>.Delete has no effect.
Observaciones

Use conditions

La función <Looper>.Delete puede utilizarse en:
  • un control Looper basado en un archivo de datos,
  • un control Looper rellenado mediante programación.
WEBDEV - Código Navegador Esta función no está disponible para los controles Looper lineales. Esta función sólo está disponible para los controles Looper en modo navegador.
WEBDEV - Código ServidorPHP Esta función está disponible para los controles Looper en modo AJAX, los controles Looper en modo clásico y los controles Looper lineales.
PHP <Looper>.Delete can only be used on a Looper control populated programmatically.

Use with a Looper control based on a data file

If the Looper control is based on a data file:
  • the record is deleted from the data file.
  • the next row is selected (if the last row is deleted, the previous row will be selected). The record selected in the linked data file corresponds to the selected row.
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: 12/03/2025

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