PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
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
HLogRestart (Function)
In french: HJournalRedémarre
HFSQLHFSQL Client/ServerAvailable only with these kinds of connection
Restarts the log process on the data file. This log process was stopped by HLogStop.
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
HLogInfo("Customer", "start printing " + Criterion)
HLogStop("Customer")  // Stop the log
HReadFirst("Customer", Criterion)
WHILE HFound()
// Process
HReadNext("Customer")
END
 
HLogRestart("Customer") // Restart the log
HLogInfo("Customer", "done printing" + Criterion)  // Write
Syntax
<Result> = HLogRestart(<File name>)
<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 quotes)
Name of logged data file whose log process must be re-started.
Remarks
  • When restarting the log, the data file must be in its initial status, which means the status in which it was before using HLogStop.
  • No information is saved in the log between HLogStop and HLogRestart.
  • HLogRestart is equivalent to HSetLog with the True parameter.
Component : wd240hf.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment