ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / Managing databases / HFSQL / Managing triggers / WLanguage functions
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
Retrieves the value of the current record before the trigger(s) are executed.
Example
sRecord is Record of FEES
// FEES is the name of the file on which the trigger has been fired
sRecord = HTriggerRecordBefore()
let sString = HRecordToString(sRecord)
Trace("sRecord: ", sString)
Syntax
<Result> = HTriggerRecordBefore()
<Result>: Record variable
Record variable corresponding to the initial record.
Remarks
  • If a new record is added in the data file, the returned record is an "empty" record marked as "deleted".
  • Special case: If the data file is a Client/Server file and if the trigger is an "after" trigger executed on the client computer, HTriggerRecordBefore does not return the memos.
Business / UI classification: Business Logic
Component: wd290hf.dll
Minimum version required
  • Version 26
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 01/12/2023

Send a report | Local help