PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US

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
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.
In most cases, HErrorPassword should be used after the first function that handles a HFSQL data file.
This function can be used with the HFSQL data files, HFSQL views or queries.
WINDEV By default, WINDEV proposes an automatic management of password errors. This feature is not available in the code of the stored procedures.
Java Only the password errors that occurred on HFSQL data files are notified.
Versions 17 and later
iPhone/iPad This function is now available for the iPhone/iPad applications.
New in version 17
iPhone/iPad This function is now available for the iPhone/iPad applications.
iPhone/iPad This function is now available for the iPhone/iPad applications.
Versions 18 and later
Android Widget This function is now available in Android Widget mode.
Android This function is now available for the Android applications (for the HFSQL data files).
Universal Windows 10 App This function is now available in Windows Store apps mode.
New in version 18
Android Widget This function is now available in Android Widget mode.
Android This function is now available for the Android applications (for the HFSQL data files).
Universal Windows 10 App This function is now available in Windows Store apps mode.
Android Widget This function is now available in Android Widget mode.
Android This function is now available for the Android applications (for the HFSQL data files).
Universal Windows 10 App This function is now available in Windows Store apps mode.
Versions 21 and later
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
New in version 21
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Note: From version 19, HFSQL is the new name of HyperFileSQL.
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.
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 9
This page is also available for…
Comments
Click [Add] to post a comment