ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / Managing databases / HFSQL / HFSQL functions
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
<Source>.CheckUnaltered (Function)
In french: <Source>.VérifieInaltéré
HFSQLHFSQL Client/ServerAvailable only with these kinds of connection
Checks whether one or all records in an unalterable data file have not been modified (with an hexadecimal editor for example).
Caution: An altered record can be read if the record header is not altered.
Example
// Check all records found in MyCustomerFile
IF MyCustomerFile.CheckUnaltered() = True THEN
Trace("No record was modified")
ELSE
Trace("The file was altered")
END
Syntax
<Result> = <Source>.CheckUnaltered([<Record>])
<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 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.
Component: wd270hf.dll
Minimum version required
  • Version 25
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 06/21/2023

Send a report | Local help