ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / Managing databases / HFSQL / Managing log processes / WLanguage 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
HLogRecreate(Customer)
Syntax
<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 recreated. If this parameter corresponds to "*", the log is recreated for all the data files found in the analysis.
<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 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 12/07/2024

Send a report | Local help