KEY (used for display)
The KEY keyword is one of the allowed arguments following FORMAT in the DISPLAY command. Properties designated as keys are displayed in a separate section of the symbol.
Example
In the following example:
• The
FORMAT KEY command puts all attributes designated by the user as primary keys under the “Primary Key” legend on an entity symbol.
• The FORMAT NONKEY command puts all non-primary-key attributes under the “Non-Key Attributes” legend on the entity symbol.
DEFINITION "Entity" { PROPERTY "Description" { EDIT COMPLETE LISTOF "Attribute" FROM "Data Element" KEYED BY {Model, "Entity Name":"Name", "Name"} RELATE BY "uses" ASGRID COPYSCRIPT OnCopyEntityDesc EDITCLASS SACPropertyAttributeGrid Label "Attribute List" LENGTH 4096 ZOOMABLE DISPLAY { FORMAT KEY LEGEND "Primary Key" } DISPLAY { FORMAT NONKEY LEGEND "Non-Key Attributes" } ... }
See also
This site works best with JavaScript enabled