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
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.
WINDEV By default, WINDEV includes 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.
Example
// Vérification du compte-rendu de la fonction HLitPremier
IF HReadFirst(Client, Nom) = False THEN
	// Problème lors de la lecture
	// Vérifie si l'erreur est due à un mot de passe erroné
	IF HErrorPassword() = True THEN
		Info("Le mot de passe donné pour manipuler le fichier de données Client est faux")
		 // Ouverture de la fenêtre de saisie du mot de passe
		MotDePasse = Open(FEN_Saisie_Passe)
		HPass(Client, MotDePasse)
	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: wd300hf.dll
See also
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 03/27/2025

Send a report | Local help