PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN

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
Directory (Property)
In french: Répertoire
HFSQLHFSQL 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 through programming.
  • Define a physical directory for a data file (when the file is described through programming).
Versions 17 and later
iPhone/iPad This property is now available for iPhone/iPad applications.
New in version 17
iPhone/iPad This property is now available for iPhone/iPad applications.
iPhone/iPad This property is now available for iPhone/iPad applications.
Versions 18 and later
Universal Windows 10 App This property is now available in Windows Store apps mode.
New in version 18
Universal Windows 10 App This property is now available in Windows Store apps mode.
Universal Windows 10 App This property is now available in Windows Store apps mode.
Remark: From version 19, HFSQL is the new name of HyperFileSQL.
Versions 21 and later
Universal Windows 10 App This property is now available in Universal Windows 10 App mode.
New in version 21
Universal Windows 10 App This property is now available in Universal Windows 10 App mode.
Universal Windows 10 App This property is now available in Universal Windows 10 App mode.
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 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>.Directory = <New directory>
<Data file>: Character string
Logical 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