ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / Managing databases / HFSQL / Managing log processes / WLanguage functions
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
Adds comments into the log when saving the operation. These comments will be used for all the operations performed in the current HFSQL context, until HLogInfo is called again.
Example
HLogInfo("Adding " + Customer.CustomerName)
HAdd(Customer)
Syntax

Defining a comment Hide the details

<Result> = HLogInfo([<Message>])
<Result>: Boolean
  • True if the operation was performed,
  • False if a problem occurs. HError is used to identify the error.
<Message>: Optional character string
Message that must be inserted into the log information (up to 16 character, the information will be truncated if the string is longer). This information can be retrieved by WDLog.
No message is inserted if this parameter is not specified.
This message will be taken into account for all the data files for which no specific comment was defined (syntax 2).

Defining a specific comment for each data file with a log Hide the details

<Result> = HLogInfo(<Data file> , <Message>)
<Result>: Boolean
  • True if the operation was performed,
  • False if a problem occurs. HError is used to identify the error.
<Data file>: Character string
Name of the logged data file to which the message is related. If this parameter is set to "*", all the logged data files found in the analysis will be taken into account.
<Message>: Character string
Message that must be inserted into the log information (up to 16 character, the information will be truncated if the string is longer). This information can be retrieved by WDLog.
No message is inserted if this parameter is not specified.
Remarks
To insert different types of information during each operation, HLogInfo must be called before each one of them.
Component: wd300hf.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 09/04/2023

Send a report | Local help