|
|
|
|
|
|
|
|
|
|
HCheckMemoAsynchronous (Function) In french: HVérifieMémoAsynchrone
Available only with this kind of connection
Checks the structural integrity of memos in an HFSQL Client/Server data file. DatabaseConnection is Connection
FileArray is array of hFileParameter
MyFileParam is hFileParameter
MyFileParam.Name = "AvailableAction"
ArrayAdd(FileArray, MyFileParam)
HCheckMemoAsynchronous(DatabaseConnection, FileArray, CB_HCheckMemoAsynchronous)
INTERNAL PROCEDURE CB_HCheckMemoAsynchronous(MyFile is string, MyResult is string)
IF MyResult = "" THEN
Trace("File processed and checked" + MyFile)
ELSE
Trace("File processed. Some problems were found " + MyFile)
END
END
Syntax
<Result> = HCheckMemoAsynchronous(<Connection> , <Data files to check> [, <WLanguage procedure>])
<Result>: Boolean - True if the check has been started,
- False otherwise.
<Connection>: String or Connection variable Connection to the server containing the data files to be manipulated. This connection corresponds to: <Data files to check>: Array of hFileParameter variables Name of the array of hFileParameter variables corresponding to the list of data files to be processed. <WLanguage procedure>: Optional procedure name Name of the WLanguage procedure ("callback") called for each data file processed. This procedure is used to manipulate the current data file. Remarks - The list of free blocks is checked in HFSQL Client/Server only.
- HCheckMemoAsynchronous is faster than HReindexAsynchronous with the hCheckMemo constant..
- If a problem is detected, you can use HReindexAsynchronous with the hCheckMemo constant.
Business / UI classification: Business Logic
Minimum version required
- Version 2025 (Subscription)
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|