ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / Managing databases / HFSQL / HFSQL functions
  • Reindexing
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
HReindexingInProgress (Function)
In french: HRéindexationEnCours
HFSQL ClassicHFSQL Client/ServerAvailable only with these kinds of connection
Warning
From version 2025, HIndexingInProgress is kept for backward compatibility. This function has been replaced with HReindexingInProgress.
Indicates that a reindex operation is currently performed on an HFSQL data file and returns the percentage of reindexing already performed.
Example
IF hReindexingInProgress(Customer) <> 0 THEN
	Trace("Operation unavailable, reindexing")
END
Syntax
<Result> = HReindexingInProgress(<Data file> [, <Progress Bar>])
<Result>: Integer
  • 0 if no reindex operation is in progress on the data file,
  • an integer included between 1 and 100 indicating the percentage of reindexing already performed
<Data file>: Character string
Name of the data file used.
<Progress Bar>: Optional control or window name, or optional integer
  • Name of the window in which the progress bar will be displayed, or name of the Progress Bar control.
  • Handle of the window that displays the progress bar.
WEBDEV - Server code This parameter is ignored.
Remarks

Reindexing

The indexes are reorganized by the reindex operation. The data cannot be accessed during the reindex operation.
WINDEV When accessing a data file on which a reindex operation is performed, the HFSQL engine displays a window indicating that a reindex operation is in progress. This window will be automatically closed at the end of the reindexing.
For more details on this window and its customization options, see HFSQL error handling help.
Business / UI classification: Business Logic
Component: wd300hf.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 04/03/2025

Send a report | Local help