PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
This content has been translated automatically. Click here to view the French version.
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
Returns the number of entries for a given key item. This number was calculated during the last statistical calculation.
Remark: From version 19, HFSQL is the new name of HyperFileSQL.
Example
// Réalisation de statistiques sur la clé NomCli du fichier de données Client
ResultatStat = HStatNbRec(Client, NomCli)
Syntax
<Result> = HStatNbRec([<Data file> [, <Key item>]])
<Result>: Integer
Number of entries found for the specified item.
Corresponds to the hInvalidRecNum constant if:
  • the statistics have never been calculated for the specified item.
  • the statistics are not supported by the specified type of item. HFSQL allows you to perform statistical calculations on key items only.
<Data file>: Optional character string
Name of the data file used. If this name is not specified, HStatNbRec will use the last data file used by the last HFSQL management function (function starting with "H").
<Key item>: Optional character string
Name of key item used to perform the statistical calculation. If this name is not specified, function HStatNbRec will handle the last field used by the last HFSQL maintenance function (function beginning with the letter H).
Remarks
  • The statistics can be updated by HIndex and HStatCalculate.
  • In the HFSQL Classic data files, the statistical calculations can only be performed on key items.
Component: wd270hf.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment