PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN

This content has been translated automatically. Click here to view the French version.
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
Used to check whether a duplicate error occurred.
Remark: From version 19, HFSQL is the new name of HyperFileSQL.
// Gestion d'une erreur de doublons
IF HModify(Client) = False THEN
IF HErrorDuplicates() = True THEN
sNomRub is string
sNomRub = HErrorInfo(hErrItem)
Error("Doublon: cet enregistrement ne peut être modifié", ...
"Rubrique associée à l'erreur: " + sNomRub, ...
"Valeur de la rubrique: " + {"Client." + sNomRub})
END
END
Syntax
<Result> = HErrorDuplicates()
<Result>: Boolean
  • True if a duplicate error occurred,
  • False otherwise (no error).
Remarks
  • The management of duplicates is enabled by default. To enable or disable the management of duplicates, use HSetDuplicates.
  • This function replaces the HD or function present in WINDEV 5.5.
Business / UI classification: Business Logic
Component: wd270hf.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment