Xbasic
INDEX.FIND_NEXT Function
Syntax
as P = Find_Next(P key)
Arguments
- key
A pointer to an existing index entry. r
Description
Find the key After the specified key - returns the key found.
Discussion
The .FIND_NEXT() method finds and returns the key after the specified key.
Example
dim t as P
dim i as P
dim b as P
dim b.key as C
t = table.open("customer")
i = t.index_primary_put("Lastname")
b = i.find_first()
? b
= Key = "Abrams"
Record = 32.000000
x = i.find_next(b)
? x
= Key = "Adams"
Record = 56.000000See Also