ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / Managing databases / HFSQL / HFSQL functions
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Used to recreate 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.
Warning: this is an advanced function.
The use of this function is not recommended. It is recommended to use WDLog to manage logs.
Example
Client.JournalRecrée()
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 recreated.
<Creation options>: Optional constant (or combination of constants)
Configures the log file to recreate:
hLogIdentificationRecreates the "JournalIdentification.fic" file.
hLogJNLFile
(Default value)
Only <data file>JNL.FIC is recreated.
hLogOperationRecreates the "JournalOpération.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.

Note: it is not recommended to recreate only the user and identification files without the other files.. Indeed, the links between the files could be broken and the recreated files could be inconsistent.
Component: wd300hf.dll
Minimum version required
  • Version 25
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 09/25/2024

Send a report | Local help