Description: Runs when changed DBForm data is recalculated.
Execution: During a normal recalculation, validation and component refresh are completed first. If AutoSave is enabled, its save attempt also occurs before this event. The current object's OnDataChange event then runs before the DBForm-level formula. A recursion guard prevents the same DBForm data-change event from re-entering itself during that execution. The web custom-reason workflow can also invoke the DBForm formula after synchronizing reason data.
Arguments and variables:
Argument_DataID: identifier of the current record.
The current DBForm entry values are also available directly by their entry names. Argument_ChangedEntryList is not supplied to this event.
Result: Any value assigned to Result has no effect.
Availability: DBForm on desktop and web.
Example:
// Keep a calculated entry synchronized with the edited values.
EntryTotal := EntryQuantity * EntryUnitPrice;