AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Ayuda / WLanguage / Administrar bases de datos / HFSQL / Funciones HFSQL
  • Example 1: Initializing and browsing a query on HFSQL data files
  • Example 2: Initialization and browsing a query on an OLE DB file
HExecuteQuery (Example)
Example 1: Initializing and browsing a query on HFSQL data files
HFSQL ClassicHFSQL Client/ServerProcedimientos almacenados The following example is used to initialize a query and to browse it.
// Initializes the query
IF HExecuteQuery(QRY_MyQuery) = False THEN
Error("Error while initializing the query" + CR + HErrorInfo())
RETURN
END
 
// Read the first record of the query
HReadFirst(QRY_MyQuery)
WHILE NOT HOut()
 // Process on the query record
 ...
 // read the next record
 HReadNext()
END
HCancelDeclaration(QRY_MyQuery)
Example 2: Initialization and browsing a query on an OLE DB file
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