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
LogMethod (Property)
In french: Journalisation
HFSQL ClassicHFSQL Client/ServerAvailable only with these kinds of connection
The LogMethod property is used to:
  • find out the log mode used for a data file (file defined in the data model editor or through programming).
  • define the log mode used for a data file (when the file is described through programming).
Example
IF Customer.LogMethod = hLogNo THEN Info("Unable to replicate")
Syntax

Finding out the log mode Hide the details

<Current mode> = <Data file>.LogMethod
<Current mode>: Integer constant
The log formats are:
hLogNoNo log.
hLogReadingWritingThe read and write operations performed in the data file are logged.
hLogWritingThe write operations performed in the data file are logged.
<Data file>: Character string
Name of the data file used. This name is defined in the data model editor or with the File Description type.

Defining the log mode Hide the details

<Data file>.LogMethod = <New mode>
<Data file>: Character string
Name of the data file used. This name is defined with the File Description type.
<New mode>: Integer constant
The log formats are:
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