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
LogMethod (Property)
In french: Journalisation
HFSQLHFSQL 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:
hLogWritingThe write operations performed in the data file are logged.
hLogReadingWritingThe read and write operations performed in the data file are logged.
hLogNoNo log.
<Data file>: Character string
Name of the data file used. This name was 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 was defined by the File Description type.
<New mode>: Integer constant
The log formats are:
hLogWritingThe write operations performed in the data file are logged.
hLogReadingWritingThe read and write operations performed in the data file are logged.
hLogNoNo log.
See also
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment