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
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.
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