Returns or sets the current key of the table referred to by the recordref. The current key is set or returned as a number. This first key = 1, and so on.
[CurrKeyIndex :=] RecordRef.CURRENTKEYINDEX([NewKeyIndex]) |
Parameters
- RecordRef
-
Type: RecordRef
- NewKeyIndex
-
Type: Integer
The number of the new key.