PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English 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/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 operations performed in the current HFSQL context, until the next call of the HLogInfofunction.
Remark: The log process is not available when accessing a database via Remote access.
Remark: From version 19, HFSQL is the new name of HyperFileSQL.
Example
HLogInfo("Ajout de " + Client.NomClient)
HAdd(Client)
Syntax

Defining a comment Hide the details

<Result> = HLogInfo([<Message>])
<Result>: Boolean
  • True if the operation was performed,
  • False if a problem occurred. 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 occurred. 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 information for each operation, it is necessary to call function HLogInfo before each operation.
Component: wd270hf.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment