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
Returns the date of the last update for the index statistics. These statistics have been calculated by HStatCalculate or HIndex.
Versions 18 and later
Universal Windows 10 App This function is now available in Windows Store apps mode.
New in version 18
Universal Windows 10 App This function is now available in Windows Store apps 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.
Versions 22 and later
iPhone/iPad This function is now available for the iPhone/iPad applications.
Android Widget This function is now available in Android Widget mode.
Android This function is now available for the Android applications.
WINDEVJava This function is now available for the Java applications.
New in version 22
iPhone/iPad This function is now available for the iPhone/iPad applications.
Android Widget This function is now available in Android Widget mode.
Android This function is now available for the Android applications.
WINDEVJava This function is now available for the Java applications.
iPhone/iPad This function is now available for the iPhone/iPad applications.
Android Widget This function is now available in Android Widget mode.
Android This function is now available for the Android applications.
WINDEVJava This function is now available for the Java applications.
Example
// Calculate the statistics on the CustName key found in Customer data file
HStatCalculate(Customer, CustName)

// Find out the date when these statistics were calculated
ResDate = HStatDate()
Info("The statistics performed on the CustName item " + ...
"were calculated on: " + DateToString(ResDate, maskSystemDate))
Syntax
<Result> = HStatDate([<File Name> [, <Name of Key Item>]])
<Result>: Character string
  • Date of the last update performed on the statistics, in YYYYMMDD format (YYYY corresponds to the year, MM to the month and DD the day). The date is returned in UTC format (Universal Time Coordinated).
  • Empty string ("") if the statistics have not been calculated.
<File Name>: Optional character string (with or without quotes)
Name of data file used. If this name is not specified, HStatDate handles the last data file used by the last function for HFSQL management (starting with the letter H).
<Name of Key Item>: Optional character string (with or without quotes)
Name of the key item on which the statistics have been calculated. If this name is not specified, HStatDate handles the last key item used by the last function for HFSQL management (starting with the letter H).
Remarks
  • In the HFSQL data files, the calculation of statistics can only be performed on the key items.
  • This function is not available when accessing a database via Remote Access.
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
Click [Add] to post a comment