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
HFree (Function)
In French: HLibère
HFSQLHFSQL Client/ServerAvailable only with these kinds of connection
Transforms the crossed records (HCross) found in a data file into deleted records. The space occupied by the crossed records is freed and it can be re-used during the next additions (HAdd).
Reminder: A crossed record is inactive and it disappears from the index. The data found in this crossed record is not deleted (unlike HDelete).
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 20 and later
Android This function is now available for the Android applications (for the HFSQL data files).
Java This function is now available for the Java applications (for the HFSQL data files).
Android Widget This function is now available in Android Widget mode (for the HFSQL data files).
New in version 20
Android This function is now available for the Android applications (for the HFSQL data files).
Java This function is now available for the Java applications (for the HFSQL data files).
Android Widget This function is now available in Android Widget mode (for the HFSQL data files).
Android This function is now available for the Android applications (for the HFSQL data files).
Java This function is now available for the Java applications (for the HFSQL data files).
Android Widget This function is now available in Android Widget mode (for the HFSQL data files).
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.
Example
// Deletes all the crossed records from "Customer" file
HFree(Customer)
Syntax
<Result> = HFree([<File Name>])
<Result>: Boolean
  • True if the record was deleted,
  • False if a problem occurred: the record is not deleted. HError is used to identify the error.
<File Name>: Optional character string (with or without quotes)
Name of data file used. If this name is not specified, HFree handles the last data file used by the last function for HFSQL management (starting with the letter H).
Remarks
This function is not suitable for the xBase files.
Components
WINDEVWEBDEV - Server code 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