AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Ayuda / WLanguage / Administrar bases de datos / HFSQL / Funciones HFSQL
  • Example 1: Moving to the 500th record in the Product file according to the Reference key
  • Example 2: Moving forward to the mid-point of CUSTOMER file
HForward (Example)
Example 1: Moving to the 500th record in the Product file according to the Reference key
WEBDEV - Código ServidorAjaxHFSQL ClassicHFSQL Client/ServerHyper File 5.5OLE DBConectores Nativos The following example selects the 500th record found in the "Product" file.
HFirst(Product, Reference)
HForward(Product, Reference, 499)
Example 2: Moving forward to the mid-point of CUSTOMER file
WEBDEV - Código ServidorAjaxHFSQL ClassicHFSQL Client/ServerHyper File 5.5OLE DBConectores Nativos This example moves forward to the mid-point of the Customer" file. The total number of records is calculated by HNbRec.
// point to the half-waypoint of the "Customer" file using the "Name" key
TotalRec is int = HNbRec(Customer)
HFirst(Customer, Name)
HForward(Customer, Name, TotalRec/2)
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