Key property: RecordFieldDefn class
Description
This property is True if this record field is defined as a primary key of the associated record definition. The default value is False.
This property is read/write.
Example
Local RecordFieldDefn &recField = &myNewRecord.AddField("MYNEWFIELD");
If All(&recField) Then
&recField.Key = True;
End-If;