PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK

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
Used to check whether a duplicate error occurred.
Remark: From version 19, HFSQL is the new name of HyperFileSQL.
// Manage a duplicate error
IF HModify(Customer) = False THEN
IF HErrorDuplicates() = True THEN
sItemName is string
sItemName = HErrorInfo(hErrItem)
Error("Duplicate: this record cannot be modified", ...
"Item associated with the error: " + sItemName, ...
"Value of the item: " + {"Customer. " + sItemName})
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.
Business / GUI classification : Business Logic
Component : wd250hf.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment