Description: Runs after a DBForm save attempt has completed its data-writing phase.
Execution: The current object's OnAfterSave event runs first, followed by the DBForm-level formula. Despite its name, this event does not guarantee that the database save succeeded: it is also executed after a normally completed but unsuccessful write attempt. It is not executed when OnBeforeSave cancels the operation or when processing stops before the data-writing phase is reached.
Arguments and variables:
Argument_DataID: identifier of the current record. For a newly inserted record, this is normally the identifier assigned during the save attempt.
The current DBForm entry values are also available directly by their entry names.
Result: Any value assigned to Result has no effect.
Availability: DBForm on desktop and web.
Example:
// Notify the user that the save attempt reached its final event.
ShowMessage("Save attempt finished for record " + Argument_DataID);