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
HErrorPassword (Function)
In french: HErreurMotDePasse
ODBCNot available with this kind of connection
After the execution of a read or write function in a data file, allows you to find out whether an error caused by a wrong password occurred on this data file.
It is recommended to use HErrorPassword after the first function that handles an HFSQL data file.
This function can be used with the HFSQL data files, HFSQL views or queries.
Example
// Check the status report of HReadFirst
IF HReadFirst(Customer, Name) = False THEN
// Problem during the read operation
// Checks whether the error is caused by a wrong password
IF HErrorPassword() = True THEN
Info("The password given for the Customer file is invalid")
 // Open the window used to enter the password
Password = Open(WIN_Enter_Password)
HPass(Customer, Password)
END
END
Syntax
<Result> = HErrorPassword()
<Result>: Boolean
  • True if the password is incorrect,
  • False if the password is correct.
Business / UI classification: Business Logic
Component: wd290hf.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help