PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | French EN

WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Checks whether the current record corresponds to the current filter or search.
HFound returns True if the current record exists and if one of the following conditions is met:
  • the data file browse is filtered and the current record corresponds to the filter conditions,
  • the data file browse was started by a search and the current record corresponds to the sought value,
  • the data file browse is neither filtered nor started by a search.
When an operation causes an exit from the filter or data file (i.e. when HOut returns True), HFound returns False.
Remark: HFound corresponds to the H.Found variable.
Versions 15 and later
Android This function is now available for Android applications.
New in version 15
Android This function is now available for Android applications.
Android This function is now available for Android applications.
Versions 17 and later
iPhone/iPad This function is now available for iPhone/iPad applications.
New in version 17
iPhone/iPad This function is now available for iPhone/iPad applications.
iPhone/iPad This function is now available for iPhone/iPad applications.
Versions 18 and later
Android Widget This function is now available in Android Widget mode.
Universal Windows 10 App This function is now available in Windows Store apps mode.
New in version 18
Android Widget This function is now available in Android Widget mode.
Universal Windows 10 App This function is now available in Windows Store apps mode.
Android Widget This function is now available in Android Widget mode.
Universal Windows 10 App This function is now available in Windows Store apps mode.
Remark: From version 19, HFSQL is the new name of HyperFileSQL.
Versions 21 and later
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
New in version 21
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Example
HReadSeekFirst(Customer, Name, "Moore")
IF HFound() = True THEN
Info("Record found")
ELSE
Error("No record found")
END
Syntax
<Result> = HFound([<Data file>])
<Result>: Boolean
  • True if the current record corresponds to the filter or to the search,
  • False otherwise. HError returns more details about the problem.
<Data file>: Optional character string (with or without quotes)
Name of data file, view or query used. If this name is not specified, HFound will use the last data file (view or query) used by the last HFSQL management function (function starting with "H").
Component : wd250hf.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Vamos a cambiar el registro

//Aula 1153 WinDev Curso ErpAmarildo 11 - Tabela Codigo de Alteração

//Nessa aula de hoje
//vamos fazer a alteração do registro.

//En esta clase de hoy
//Vamos a cambiar el registro.

//In this class today
//Let's do the registry change.

IF TableSelect(TABLE_QRY_RELACAO_EMPRESAS)=-1 THEN RETURN
_indice is int=TableSelect(TABLE_QRY_RELACAO_EMPRESAS)
HReadSeekFirst(empresa,empresaID,TABLE_QRY_RELACAO_EMPRESAS.COL_EmpresaID)
IF HFound(empresa) THEN
Open(WIN_Form_empresa)
END
TableDisplay(TABLE_QRY_RELACAO_EMPRESAS,taReExecuteQuery)
TableSelectPlus(TABLE_QRY_RELACAO_EMPRESAS,_indice)
De matos
18 May 2017
Example
PROCEDURE LoginiOS()


Registros is boolean


SqlExecute is string = [
select * from TabelaLogin
]


SqlQuery is Data Source


ok is boolean = HExecuteSQLQuery(SqlQuery,hQueryDefault,SqlExecute)


IF ok = True THEN


FOR EACH SqlQuery


Registros = HFound(SqlQuery)


IF Registros = True THEN


EDT_Cod = SqlQuery.TabelaEmail


END


END


END
adrianoboller
04 Feb. 2016