PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | French EN

This content has been translated automatically. Click here to view the French version.
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
LogMethod (Property)
In french: Journalisation
HFSQLHFSQL Client/ServerAvailable only with these kinds of connection
The Property Logging allows you to:
  • find out the log mode used for a data file (file defined in the data model editor or by programming).
  • define the log mode used for a data file (when the file is described by programming).
Example
IF Client.Logging = hLoggingNo THEN Info("Replication impossible")
Syntax

Finding out the log mode Hide the details

<Current mode> = <Data file>Logging
<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 (with or without quotes)
Name of data file used. This name was defined in the data model editor or by the File description type.

Defining the log mode Hide the details

<Data file>Logging = <New mode>
<Data file>: Character string (with or without quotes)
Name of 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