ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / Managing databases / HFSQL / Managing triggers / WLanguage functions
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Retrieves the value of the current record before the trigger(s) are executed.
Example
sEnreg is Record of FRAIS
// FRAIS est le nom du fichier sur lequel le trigger a été déclenché
sEnreg = HTriggerRecordBefore()
let sChaîne = HRecordToString(sEnreg)
Trace("sEnreg : ", sChaîne)
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 the trigger is an "after" trigger executed on the client workstation, then the function HTriggerRecordBefore function does not return the memos.
Business / UI classification: Business Logic
Component: wd300hf.dll
Minimum version required
  • Version 26
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 03/28/2025

Send a report | Local help