편집

다음을 통해 공유


KeyRef Data type

Version: Available or changed with runtime version 1.0.

Identifies a key in a table and the fields in this key.

Instance methods

The following methods are available on instances of the KeyRef data type.

Method name Description
Active() Indicates whether the key is enabled.
FieldCount() Gets the number of fields that have been defined in a key. Returns an error if no key is selected.
FieldIndex(Integer) Gets the FieldRef of the field that has this index in the key referred to by the KeyRef variable. Returns an error if no key is selected.
Record() Returns a RecordRef for the current record referred to by the key.

Get Started with AL
Developing Extensions