Help / WLanguage / Managing databases / HFSQL / Managing log processes / WLanguage functions
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WindowsLinuxPHPWEBDEV - Browser code
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Stored procedures
Used to re-create an empty log. This function is used to reset a log to 0 after a backup or a replication for example. The content of the existign log files is lost.
Caution: this function is an advanced function.
The use of this function is not recommended. We recommend that you use WDLog to manage the log.
Remark: The log process is not available when accessing a database via Remote access.
<Result> = HLogRecreate(<Data file> [, <Creation options>])
<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 for which the log must be re-created. If this parameter corresponds to "*", the log is re-created for all the data files found in the analysis.
<Creation options>: Optional constant (or combination of constants)
Configures the log file to re-create:
hLogIdentificationRe-creates the "JournalIdentification.fic" file.
(Default value)
Only <data file>JNL.FIC is recreated.
hLogOperationRe-creates the "JournalOperation.fic" file.
hLogUserRecreates the log of users ("UserLog.fic").
HFSQL Client/Server This file exists in HFSQL Client/Server only. This file contains the information (login, computer, ...) about the users who perform the logged actions.

Remark: we do not advise you to re-create the user file and the identification file only. Indeed, the links between the files could be broken and the re-created files could be inconsistent.
Component: wd280hf.dll
Minimum version required
  • Version 9
This page is also available for…
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help