KeyRef Data Type
Identifies a key in a table and the fields in this key.
The following methods are available on instances of the KeyRef data type.
|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.|
|Active()||Indicates whether the key is enabled.|