Description: Runs after the DBGrid delete workflow has processed its before-delete step.
Execution: Despite its name, the event does not guarantee that a record was deleted. It runs after the standard deletion and also when a valid OnBeforeDeleteRecord formula suppressed the standard action. On desktop it runs after the grid's data-change and change events and a data refresh; on web it runs before those notifications.
Arguments on desktop:
Argument_DataID: the current or last processed selected identifier.
Argument_SelectedIDStr: selected identifiers represented as a string.
Argument_SelectedIDCount: number of selected identifiers.
Argument_SelectedIDs: selected identifiers as an array. This runtime variable is available but is not declared in the formula editor.
Arguments on web: Argument_ComponentObjectID, Argument_ComponentFilterID and the focused Argument_DataID are assigned. The declared selection string and count are not passed.
Common arguments: The declared Argument_EventName, Argument_SenderName and Argument_SenderID values are not assigned consistently.
Result: Any value assigned to Result has no effect.
Availability: DBForm DBGrid component on desktop and web, with the argument and event-order differences described above.
Example:
// This means that the workflow finished, not necessarily that deletion succeeded.
ShowMessage("Delete workflow finished for record " + Argument_DataID);