Description: Initializes a new record in the detail DBForm opened from a master DBGrid.
Execution: Runs in the detail DBForm parser after the new target record has been initialized. The formula can assign initial values to entries of that detail record. Desktop and web provide the same master-value contract.
Arguments:
Argument_MASTER_DataID: DataID of the current record in the master DBForm.
Argument_MASTER_ObjectID: object identifier of the master DBForm, or Null when no master object is assigned.
MASTER_<EntryName>: current value of the corresponding entry in the master DBForm. Replace <EntryName> with the actual entry name.
Result: Any value assigned to Result has no effect. Set the required detail entry values directly in the formula.
Availability: DBForm DBGrid detail-record creation on desktop and web.
Example:
SetValue("EntryA", MASTER_EntryB + 2);