Xbasic
INDEX.KEY_RECORD_GET Function
Syntax
Record_Number as N = Key_Record_Get(N record_number)
Arguments
- Record_Number
The record number (minus 1) corresponding to the index entry.
- record_number
The position of the index entry (minus 1).
Description
Returns record at position within the index.
Discussion
The .KEY_RECORD_GET() method returns the record number of the entry at the specified position within the index
Example
dim tbl as P
dim indx as P
tbl = table.open("customer")
indx = tbl.index_primary_put("Lastname")
? indx.key_record_get(0)
= 31
? indx.key_get()
= Key = "Abrams "
Record = 32See Also