PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE


New WINDEV, WEBDEV, WINDEV Mobile 23 feature!
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
HCheckUnaltered (Function)
In French: HVérifieInaltéré
HFSQLHFSQL Client/ServerAvailable only with these kinds of connection
Checks whether one or all records found in an unalterable data file have not been modified (with an hexadecimal editor for example).
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.
Example
// Check all records found in MyCustomerFile
IF HCheckUnaltered(MyCustomerFile) = True THEN
Trace("No record was modified")
ELSE
Trace("The file was altered")
END
Syntax
<Result> = HCheckUnaltered(<File Name> [, <Record> [, <Progress Bar>]])
<Result>: Boolean
  • True if the record was not altered,
  • False otherwise. In this case, ErrorInfo returns the list of altered records.
<File Name>: Character string (with or without quotes)
Name of 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 character string (with or without quotes)
  • Name of window where the progress bar will be displayed.
  • Name of Progress Bar control that displays the progress.
WEBDEV - Server code This parameter is ignored.
Components
WINDEVWEBDEV - Server codeReports and Queries wd230hf.dll
Windows Mobile wp230hf.dll
Java wd230java.jar
Linux wd230hf.so
Android wd230android.jar
Minimum required version
  • Version 23
This page is also available for…
Comments
Click [Add] to post a comment