CREATE RELATED ONE

4D - Documentation   Français   English   German   Spanish   4D v11 SQL, Command Theme List   4D v11 SQL, Command Alphabetical List   4D v11 SQL, Constant Theme List   Back   Previous   Next

version 3


CREATE RELATED ONE (aField)

ParameterTypeDescription
aFieldFieldMany field

Description

CREATE RELATED ONE performs two actions. If a related record does not exist for aField (that is, if a match is not found for the current value of field), CREATE RELATED ONE creates a new related record.

To save a value in the appropriate field, assign values to the One field from the Many field. Call SAVE RELATED ONE to save the new record.

If a related record exists, CREATE RELATED ONE acts just like RELATE ONE and loads the related record into memory.

See Also

SAVE RELATED ONE.


4D - Documentation   Français   English   German   Spanish   4D v11 SQL, Command Theme List   4D v11 SQL, Command Alphabetical List   4D v11 SQL, Constant Theme List   Back   Previous   Next