ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / Managing databases / HFSQL / HFSQL functions
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
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.
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
Name of the 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: wd300hf.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 06/04/2024

Send a report | Local help