AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Ayuda / WLanguage / Administrar bases de datos / HFSQL / Funciones HFSQL
  • Example: Importing a file description from an analysis
HDeclare (Example)
Example: Importing a file description from an analysis
WINDEVWEBDEV - Código ServidorCódigo de Usuario (UMC)AjaxHyper File 5.5OLE DB The following example uses the CUSTOMER file described in the analysis named "C:\SALESMGT\SALESMGT.WDD". You have the ability to create the file, to add a record into this file for example.
EXTERN WDCUSTOMER
 
// Imports the description of CUSTOMER file as CUSTOMERWD
HDeclare("CUSTOMER", "C:\SALESMGT\SALESMGT.WDD", "Password", "WDCUSTOMER")
 
// Create the file in the directory of the application
HChangeDir("WDCUSTOMER", "C:\SALESMGT\")
HCreation("WDCUSTOMER")
 
// Add a record
WDCUSTOMER.NAME = "Montgomery"
...
HAdd("WDCUSTOMER")
 
// Closes the file
HClose("WDCUSTOMER")
 
// The description is not required anymore
HCancelDeclaration("WDCUSTOMER")
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