PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK

This content comes from an automatic translation.
  • Data files not in HFSQL format
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
HRecNum (Function)
In french: HNumEnr
HFSQLHFSQL Client/ServerAvailable only with these kinds of connection
Returns:
  • the number of the current record in the HFSQL data file.
  • the number of the current record in the HFSQL view.
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.
Android This function is now available for the Android applications (for the HFSQL data files).
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.
Android This function is now available for the Android applications (for the HFSQL data files).
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.
Android This function is now available for the Android applications (for the HFSQL data files).
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.
// Ongoing registration of the "Client" data file
CurrentCustomerRec = HRecNum(Customer)
Syntax
<Result> = HRecNum([<Data file>])
<Result>: Integer
Corresponds to:
  • the number of the current record in the data file.
  • the number of the current record in the view or in the query (and not the number of the current record in the data file).
    Caution: Used on a HFSQL Classic view, this parameter does not correspond to the value of the H.NumRec variable.
  • the hInvalidRecNum constant if there is no current record (position outside the data file).
HError returns more details about the problem.
Hyper File 5.5 Used on an Hyper File 5.5 view, HRecNum returns the number of the current record in the data file associated with the view.
<Data file>: Optional character string (with or without quotes)
Name of HFSQL data file, query or view used.
If this parameter is not specified, HRecNum handles the last data file used by the last function for HFSQL management (starting with the letter H).
Remarks

Data files not in HFSQL format

  • There is no record number on the data files.
  • The call to this function triggers a WLanguage error.
Component : wd250hf.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment