|
|
|
|
|
HCheckUnaltered (Function) In french: HVérifieInaltéré
 Available only with these kinds of connection
Checks that one or all records in an unalterable data file have not been modified (e.g. with a hexadecimal editor). Caution: - This function is available from version 23. For Client/Server files, the HFSQL Client/Server engine must be in version 23 (or later).
- An altered record can be read if the record header is not altered.
IF HCheckUnaltered(MonFichierClient) = True THEN
Trace("Aucun enregistrement n'a été modifié")
ELSE
Trace("Il y a eu altération du fichier")
END
Syntax
<Result> = HCheckUnaltered(<Data file> [, <Record> [, <Progress Bar>]])
<Result>: Boolean - True if the record was not altered,
- False otherwise. In this case, ErrorInfo returns the list of altered records.
<Data file>: Character string Name of the HFSQL data file to check. <Record>: Optional integer or Integer constant - Number of the record to check.
- Constant used to specify the record to check:
| | hCurrentRecNum | Check the current record. | hRecNumAll (Default value) | Check all records. |
<Progress Bar>: Optional control name or window name - Name of the window in which the progress bar will be displayed.
- Name of the Progress Bar control.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|