REFERENCE <header> [<uniques>] [<fields>] [<relations>]
END_REFERENCE
Objects defined in the OBJECT and DELETE elements often refer to other objects in their relations and fields. For those references to be successful, use the REFERENCE element to describe those objects that already exist in the database. Only one database object can match a REFERENCE object.
Recommendation: The REFERENCE objects should use unique key descriptions, other than OBJID, to specify a unique match. For example, to clearly define a gbst_elm database row, the gbst_elm title field and the gbst_lst that the gbst_elm belongs to must be specified. Use a REFERENCE rather than updating the gbst_lst object, because the REFERENCE simply looks up the database object to verify that the referenced object exists and that the gbst_elm can be related to it.
See Also |
Next |