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
HLogRecreate (Function)
In French: HJournalRecrée
HFSQLHFSQL Client/ServerAvailable only with these kinds of connection
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.
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
HLogRecreate(Customer)
Syntax
<Result> = HLogRecreate(<File Name> [, <Creation Options>])
<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 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:
hLogJNLFile
(Default value)
Only <File Name>JNL.FIC is recreated.
hLogIdentificationRe-creates the "JournalIdentification.fic" file.
hLogOperationRe-creates the "JournalOpération.fic" file.
hLogUserRe-creates 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: 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.
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