AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Ayuda / WLanguage / Administrar bases de datos / HFSQL / Funciones HFSQL
  • Example: Number of records in a data file
Example: Number of records in a data file
Reportes y ConsultasHFSQL ClassicHFSQL Client/ServerHyper File 5.5OLE DBConectores Nativos The following example displays various information about the number of records found in a CUSTOMER file.
// Displays information about the file
Info("The CUSTOMER file contains " + ...
HNbRec(CUSTOMER, hStateActive) + " active records, " + ...
HNbRec(CUSTOMER, hStateCrossed) + " crossed records, " + ...
HNbRec(CUSTOMER, hStateDel) + " deleted records, " + ...
" for a total of " + HNbRec(CUSTOMER, hStateAll) + " records")
Versión mínima requerida
  • Versión 9
Esta página también está disponible para…
Comentarios
Exemplo de HnbRec e Gauge
Exemplo de HnbRec e Gauge

EDT_quantidade_tabela=HNbRec(cliente)
EDT_contador=0
FOR EACH cliente
EDT_contador ++
//Mostra progresso
Gauge(EDT_contador,EDT_quantidade_tabela)
END
//finalizando progresso
Gauge()

//Blog com Video e Exemplo
http://windevdesenvolvimento.blogspot.com.br/2016/09/aula-922-windev-23-hyperfile-hnbrecgauge.html
https://www.youtube.com/watch?v=ou5X4tSXq78

http://windevdesenvolvimento.blogspot.com.br/2016/07/windev-21-hyperfile-hnbrec-quantidade.html
https://www.youtube.com/watch?v=ou5X4tSXq78
De matos
26 09 2016

Última modificación: 27/05/2022

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