AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Ayuda / WLanguage / Administrar bases de datos / HFSQL / Funciones HFSQL
  • Example: Canceling the declaration of a CUSTOMER file not found in the analysis
HCancelDeclaration (Example)
Example: Canceling the declaration of a CUSTOMER file not found in the analysis
Reportes y ConsultasHFSQL ClassicHFSQL Client/ServerProcedimientos almacenadosHyper File 5.5OLE DBConectores Nativos
The following example is used to:
  • temporarily import the description of CUSTOMER file into the analysis (from the physical file CUSTOMER.FIC).
  • process the data file.
  • end the temporary declaration.
EXTERN CUSTOMER
// Retrieves the description of Customer file not described in the current analysis
IF HDeclareExternal("C:\MyProject\AnExample\Customer.FIC", "CUSTOMER") = False THEN
Error(HErrorInfo())
ELSE
// Opens the file
HOpen(CUSTOMER)
// Process
...
HClose(CUSTOMER)
HCancelDeclaration(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