PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US

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 to the current search.
HFound returns True if the current record exists and if one of the following conditions is fulfilled:
  • the file browse is filtered and the current record corresponds to the filter conditions,
  • the file browse was started by a search and the current record corresponds to the sought value,
  • the file browse is neither filtered nor started by a search.
When an operation triggers the exit from a filter or data file (which means when HOut returns True), HFound returns False.
Note: HFound corresponds to the H.Found variable.
Versions 15 and later
Android This function is now available for the Android applications.
New in version 15
Android This function is now available for the Android applications.
Android This function is now available for the Android applications.
Versions 17 and later
iPhone/iPad This function is now available for the iPhone/iPad applications.
New in version 17
iPhone/iPad This function is now available for the iPhone/iPad applications.
iPhone/iPad This function is now available for the 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.
Note: 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([<File Name>])
<Result>: Boolean
  • True if the current record corresponds to the filter or to the search,
  • False otherwise. HError returns more details about the problem.
<File Name>: Optional character string (with or without quotes)
Name of data file, view or query used. If this name is not specified, HFound handles the last data file (view or query) used by the last function for HFSQL management (starting with the letter H).
WINDEVWEBDEV - Server code You also have the ability to specify a view identifier (view created by HCreateView_55).
Components
WINDEVWEBDEV - Server codeReports and Queries wd230hf.dll
Windows Mobile wp230hf.dll
Java wd230java.jar
Linux wd230hf.so
Android wd230android.jar
Minimum required version
  • 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
May 18 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
Feb. 04 2016