PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK

This content comes from an automatic translation.
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
HErrorModification (Function)
In french: HErreurModification
ODBCNot available with this kind of connection
Allows to:
  • During a modification conflict: return the value of a field in a record. This value is returned as a character string (empty string for the binary memos).
    Remark: this function must only be used during a custom management of modification conflicts (in a procedure or window called by the HFSQL engine to process the modification conflict for example).
  • Versions 24 and later
    check if a change conflict has occurred.
    New in version 24
    check if a change conflict has occurred.
    check if a change conflict has occurred.
Versions 17 and later
iPhone/iPad This function is now available for iPhone/iPad applications.
New in version 17
iPhone/iPad This function is now available for iPhone/iPad applications.
iPhone/iPad This function is now available for iPhone/iPad applications.
Versions 18 and later
Universal Windows 10 App This function is now available in Windows Store apps mode.
New in version 18
Universal Windows 10 App This function is now available in Windows Store apps mode.
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.
Remark: From version 19, HFSQL is the new name of HyperFileSQL.
LOOP
// Extracts the nth item from the list of items in conflict
AnItem = ExtractString(ItemList, i, CR)
// Exit if no other item
IF AnItem = EOT THEN BREAK // Exit if no other item in conflict

// Displays the value of the item for the source record
Trace(HErrorModification(FileName, AnItem, hRecRead))
// Displays the value of the item for the file record
Trace(HErrorModification(FileName, AnItem, hRecFile))
// Displays the value of the item for the user record
Trace(HErrorModification(FileName, AnItem, hRecUser))
END
Syntax

Returning the value of a field in a record Hide the details

<Result> = HErrorModification(<Data file> , <Item> [, <Item subscript>] , <Record to read>)
<Result>: Character string
  • Content of the requested item,
  • Empty string ("") if no error occurred.
<Data file>: Character string (with or without quotes)
Name of data file used.
<Item>: Character string (with or without quotes)
Name of item used.
<Item subscript>: Optional integer
Subscript of the item for array items only. This parameter is not required for the other types of items.
<Record to read>: Integer constant
Used to specify the record for which the information must be read:
hRecFileValue of the item currently saved in the data file.
hRecReadValue of the item for the source record (read before the modification performed by HModify).
hRecUserValue of the item for the current record when the modification is performed (HModify).
Versions 24 and later

Check if a change conflict has occurred Hide the details

<Result> = HErrorModification()
<Result>: Boolean
  • True if a change conflict has occurred,
  • False otherwise (no conflict).
New in version 24

Check if a change conflict has occurred Hide the details

<Result> = HErrorModification()
<Result>: Boolean
  • True if a change conflict has occurred,
  • False otherwise (no conflict).

Check if a change conflict has occurred Hide the details

<Result> = HErrorModification()
<Result>: Boolean
  • True if a change conflict has occurred,
  • False otherwise (no conflict).
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