AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Este contenido se ha traducido automáticamente.  Haga clic aquí  para ver la versión en inglés.
Ayuda / WLanguage / Administrar bases de datos / HFSQL / Funciones HFSQL
  • Example: Browse the customer names in descending order
HReadLast (Example)
Example: Browse the customer names in descending order
Reportes y ConsultasHFSQL ClassicHFSQL Client/ServerHyper File 5.5OLE DBConectores Nativos The "Customer" data file is browsed according to the "NAME" path key. the iteration is performed in descending order (from last to first). If the customer is a prospect (IsCustomer = 0), it is added to the TREE_PROSPECT treeview.
// Read the last record in the customer data file
HReadLast(Customer, Name)
WHILE NOT HOut()
	// Check whether the customer is a prospect
	IF IsCustomer = 0 THEN
		// Add the record into the TreeView control 
		TreeAdd(TREE_Prospect, Customer.Name)
	END
	// Read the previous record
	HReadPrevious(Customer, Name)
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: 28/03/2025

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