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
LogDirectory (Property)
In french: RépertoireJournalOpération
HFSQL ClassicHFSQL Client/ServerAvailable only with these kinds of connection
The LogDirectory property is used to manage the directory of the log file described in the analysis. You can:
  • Find out the directory of the log for a data file defined in the data model editor or by programming.
  • Define the log directory of a data file (only when the file is described by programming).
Example
// Define the log directory of the Orders data file defined through programming
Orders.LogDirectory = "C:\MyFiles\MyLogs"
...
// Validate the data file description
HDescribeFile(Orders)
Syntax

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

<Current name> = <Data file>.LogDirectory
<Current name>: Character string
  • Name of the directory of the log file associated with the data file,
  • "." if the directory corresponds to the current directory of the data files.
<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 the directory of the log for a file defined through programming Hide the details

<Data file>.LogDirectory = <New name>
<Data file>: Character string
Logical name of the data file used. This name is defined with the File Description type.
<New name>: Character string
Name of the log directory.
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 03/08/2024

Send a report | Local help