ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / Managing databases / HFSQL / HFSQL 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
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 contents of existing log files are lost.
Caution: this function is an advanced function.
The use of this function is not recommended. It is recommended to use WDLog to manage logs.
Example
Customer.LogRecreate()
Syntax
<Result> = <Source>.LogRecreate([<Creation options>])
<Result>: Boolean
  • True if the operation was performed,
  • False if a problem occurs. HError is used to identify the error.
<Source>: Type corresponding to the specified source
Name of the logged data file for which the log must be re-created.
<Creation options>: Optional constant (or combination of constants)
Configures the log file to re-create:
hLogIdentificationRe-creates the "JournalIdentification.fic" file.
hLogJNLFile
(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: wd290hf.dll
Minimum version required
  • Version 25
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 08/31/2023

Send a report | Local help