ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / Managing databases / HFSQL / HFSQL functions
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
<Source>.CheckUnaltered (Function)
In french: <Source>.VérifieInaltéré
HFSQL ClassicHFSQL Client/ServerAvailable 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).
Warning: A corrupted Record can be played back if the Record header is not corrupted.
Example
// Vérification de tous les enregistrements du fichier MonFichierClient
IF MonFichierClient.VérifieInaltéré() = True THEN
	Trace("Aucun enregistrement n'a été modifié")
ELSE
	Trace("Il y a eu altération du fichier")
END
Syntax
<Result> = <Source>.CheckUnaltered([<Record> [, <Progress Bar>]])
<Result>: Boolean
  • True if the record was not altered,
  • False otherwise. In this case, ErrorInfo returns the list of altered records.
<Source>: Type corresponding to the specified source
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:
    hCurrentRecNumCheck 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.
Component: wd300hf.dll
Minimum version required
  • Version 25
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 03/27/2025

Send a report | Local help