ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / Managing databases / HFSQL / HFSQL Client/Server functions
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
HDeleteDirectory (Function)
In french: HSupprimeRépertoire
HFSQL Client/ServerAvailable only with this kind of connection
Deletes a directory from an HFSQL Client/Server database. This directory must be empty.
Example
MaConnexion is Connection
...
HDeleteFile(MaConnexion, "ModuleCRM\Prospect.fic")
HDeleteDirectory(MaConnexion, "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 database name must not be specified in the path.. This directory must be empty.
Component: wd300hf.dll
Minimum version required
  • Version 15
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 06/12/2025

Send a report | Local help