Home | Sign in | English EN

WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WindowsLinuxPHPWEBDEV - Browser code
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Stored procedures
<Source>.ErrorModification (Function)
In french: <Source>.ErreurModification
ODBCNot available with this kind of connection
If a modification conflict occurs, returns the value of a record item. This value is returned as a character string (empty string for 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).
Remark: From version 19, HFSQL is the new name of HyperFileSQL.
// Extracts the nth item from the list of items in conflict
AnItem = ItemList.ExtractString(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(FileName.ErrorModification(AnItem, hRecRead))
// Displays the value of the item for the file record
Trace(FileName.ErrorModification(AnItem, hRecFile))
// Displays the value of the item for the user record
Trace(FileName.ErrorModification(AnItem, hRecUser))
<Result> = <Source>.ErrorModification(<Item> [, <Item subscript>] , <Record to read>)
<Result>: Character string
  • Content of the requested item,
  • Empty string ("") if no error occurred.
<Source>: Type corresponding to the specified source
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 <Source>.Modify).
hRecUserValue of the item for the current record when the modification is performed (<Source>.Modify).
Business / UI classification: Business Logic
Component: wd260hf.dll
Minimum version required
  • Version 25
This page is also available for…
Click [Add] to post a comment