PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
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
HLogInfo (Function)
In French: HJournalInfo
ODBCNot available with this kind of connection
Adds comments into the log when saving the logged operation. These comments will be used for all the operations performed in the current HFSQL context, until the next call to HLogInfo.
Note: The log process is not available when accessing a database via Remote access.
Windows Mobile Caution: The log process is available in Client/Server mode only.
Note: From version 19, HFSQL is the new name of HyperFileSQL.
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 occurred. HError is used to identify the error.
<Message>: Optional character string (with quotes)
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 logged data file Hide the details

<Result> = HLogInfo(<File Name> , <Message>)
<Result>: Boolean
  • True if the operation was performed,
  • False if a problem occurred. HError is used to identify the error.
<File Name>: Character string (with or without quotes)
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 (with quotes)
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 operation.
Components
WINDEVWEBDEV - Server codeReports and Queries wd230hf.dll
Linux wd230hf.so
Windows Mobile wp230hf.dll
Minimum required version
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment