Description: Runs after a DBForm has initialized a new record.
Execution: The entry values are initialized, the first recalculation and load events are completed, and the form is marked as needing a save before this event runs. The current object's OnNewRecord event runs first, followed by the DBForm-level formula.
Arguments and variables:
Argument_DataID: normally -1, because the new record has not yet received its database identifier.
The initialized 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:
// Supply a default only when initialization did not set a value.
if EntryStatus = Null then
EntryStatus := "New";