Description: Defines the value returned to the caller of a DBForm.
Execution: The formula runs when the caller requests the DBForm result, including DBForms opened through CallDBForm. Desktop and web dialogs use the calculated value as their return value.
Arguments and variables:
Argument_DataID: identifier of the current DBForm record.
The current DBForm entry values are also available directly by their entry names.
Result: Any Variant value can be returned. If no valid OnGetFormResult formula exists, the current DataID is returned.
Availability: DBForm dialogs on desktop and web.
Example:
// Return the selected record identifier to the caller.
Result := Argument_DataID;