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
<Connection variable>.DeleteDirectory (Function)
In french: <Variable Connexion>.SupprimeRé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
MyConnection is Connection
 
MyConnection.DeleteFile("ModuleCRM\Prospect.fic")
MyConnection.DeleteDirectory("ModuleCRM")
Syntax
<Result> = <Connection>.DeleteDirectory(<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>: Connection variable
Name of the Connection variable in which the directory must be deleted.
<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 25
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 07/06/2023

Send a report | Local help