ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage properties / HFSQL properties
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Directory (Property)
In french: Répertoire
HFSQL ClassicHFSQL Client/ServerAvailable only with these kinds of connection
The Directory property is used to manage the physical directory of HFSQL files. This property takes into account the possible changes of directory performed by HChangeDir or HSubstDir. You can:
  • Identify the physical directory of a data file defined in the data model editor or programmatically.
  • Define a physical directory for a data file (only for files defined programmatically).
Example
// Find out the name and full path of the Customer data file
NameAndFullPath is string
NameAndFullPath = Customer.Directory + "\" + Customer.PhysicalName + Customer.Extension
// NameAndFullPath corresponds to "C:\MyFiles\Customer.Fic"
Syntax

Finding out the physical directory of a data file Hide the details

<Current directory> = <Data file>.Directory
<Current directory>: Character string
Name of the directory of the data file. This name takes into account the possible changes of directory performed by HChangeDir or HSubstDir.
<Data file>: Character string
Logical name of the data file used. This name is defined in the data model editor or with the File Description type.

Defining a physical directory for a data file described programmatically Hide the details

<Data file>.Directory = <New directory>
<Data file>: Character string
Logical name of the data file used. This name is defined with the File Description type.
<New directory>: Character string
Physical name of the directory.
HFSQL Client/Server The directory of the data file must be relative to the database found on the server. For example: ".\Data"
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 01/20/2025

Send a report | Local help