ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / Managing databases / HFSQL / HFSQL Client/Server functions
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
Deletes a directory from an HFSQL Client/Server database. This directory must be empty.
Example
MyConnection is Connection
 
HDeleteFile(MyConnection, "ModuleCRM\Prospect.fic")
HDeleteDirectory(MyConnection, "ModuleCRM")
Syntax
<Result> = HDeleteDirectory(<Connection> , <Directory to delete>)
<Result>: Boolean
  • True if the directory was deleted,
  • False if an error occurred (the directory does not exist on the server or the directory is not empty for example). HError is used to identify the error.
<Connection>: Character string or Connection variable
Connection in which the directory must be deleted. This connection corresponds to:
<Directory to delete>: Character string
Path of directory to delete. This path is relative to the database: the name of the database must not be specified in the path. This directory must be empty.
Component: wd290hf.dll
Minimum version required
  • Version 15
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help