AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Ayuda / WLanguage / Administrar bases de datos / HFSQL / Gestión de estadísticas
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.
Example
// Calculate statistics about the CustName key from the Customer data file
ResStat = HStatNbRec(Customer, CustName)
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 function (function starting with "H").
<Key item>: Optional character string
Name of the key item used to calculate statistics. If this name is not specified, HStatNbRec will use the last item used by the last HFSQL management function (function starting with "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: wd290hf.dll
Versión mínima requerida
  • Versión 9
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 26/05/2022

Señalar un error o enviar una sugerencia | Ayuda local