4D v14.3

CREATE RELATED ONE

Home

 
4D v14.3
CREATE RELATED ONE

CREATE RELATED ONE 


 

CREATE RELATED ONE ( aField ) 
Parameter Type   Description
aField  Field in 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.

 
PROPERTIES 

Product: 4D
Theme: Relations
Number: 65

 
HISTORY 

Created: < 4D v6

 
SEE ALSO 

SAVE RELATED ONE

 
ARTICLE USAGE

4D Language Reference ( 4D v12.4)
4D Language Reference ( 4D v11 SQL Release 6)
4D Language Reference ( 4D v14 R3)
4D Language Reference ( 4D v14 R2)
4D Language Reference ( 4D v13.5)
4D Language Reference ( 4D v14.3)
4D Language Reference ( 4D v14 R4)