AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Ayuda / WLanguage / Administrar bases de datos / HFSQL / Funciones HFSQL
  • Example 1: Modifying a record found in Customer file
  • Example 2: Modifying a new data file
Example 1: Modifying a record found in Customer file
WINDEVJava The customer form is displayed on the screen. ScreenToFile is used to load the values entered in memory. The current record is modified.
// Modify the current record in a "Customer" file
ScreenToFile()
IF HModify(Customer) = False THEN
Error("Unable to modify the customer")
END
Example 2: Modifying a new data file
WINDEVWEBDEV - Código ServidorJavaPHPAjaxHFSQL ClassicHFSQL Client/ServerProcedimientos almacenadosHyper File 5.5OLE DBConectores Nativos A "Customer" file is created. The following code is used to modify the 5th record of this file. In this case, 4 deleted records are added at the beginning of the file.
// Create the "Customer" file
HCreation(Customer)
IF HModify(Customer, 5) = False THEN
Error("Unable to modify the customer")
END
Versión mínima requerida
  • Versión 9
Esta página también está disponible para…
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 27/05/2022

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