ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / Managing databases / HFSQL / HFSQL functions
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
<Source>.Free (Function)
In french: <Source>.SupprimeToutRayé
HFSQL ClassicHFSQL Client/ServerAvailable only with these kinds of connection
Transforms the crossed records (<Source>.Cross) 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 (<Source>.Add).
Reminder A scratched Record is inactive and disappears from the index. The data found in this crossed record is not deleted (unlike <Source>.Delete).
Example
// Delete all crossed records from "Customer"
Customer.Free()
Syntax
<Result> = <Source>.Free()
<Result>: Boolean
  • True if the record was deleted,
  • False in the event of a problem: the Record is not deleted. HError is used to identify the error.
<Source>: Type corresponding to the specified source
Name of the data file used.
Remarks
This function is not suitable for the xBase files.
Business / UI classification: Business Logic
Component: wd300hf.dll
Minimum version required
  • Version 25
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 12/05/2024

Send a report | Local help