ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage properties / HFSQL properties
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
DescribedDirectory (Property)
In french: RépertoireDécrit
HFSQL ClassicHFSQL Client/ServerAvailable only with these kinds of connection
The DescribedDirectory property is used to manage the physical directory of HFSQL files. This property ignores 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 through programming.
  • Define a physical directory for a data file (when the file is described through programming).
Example
// Define the physical directory of the Orders data file
Orders.DescribedDirectory = "C:\MyFiles"
...
// Validate the data file description
HDescribeFile(Orders)
Syntax

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

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

Defining a physical directory for a data file described through programming Hide the details

<Data file>.DescribedDirectory = <New Directory>
<Data file>: Character string
Name of the data file used. This name was defined by 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: 09/07/2023

Send a report | Local help