This is the legacy 4D documentation web site. Documentations are progressively being moved to developer.4d.com |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v20 R7
CREATE RELATED ONE
|
CREATE RELATED ONE ( aField ) | ||||||||
Parameter | Type | Description | ||||||
aField | Field |
![]() |
Many field | |||||
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.
Product: 4D
Theme: Relations
Number:
65
Created: < 4D v6
4D Language Reference ( 4D v20 R7)