QUERY.FIND_PREVIOUS Function

Syntax

as P = .FIND_PREVIOUS( Pointer as P )

Arguments

Pointer

A pointer to an existing query list entry.

Description

The .FIND_PREVIOUS() method finds the key before the specified key.

Example

dim tbl as P
dim qry as P
dim ptr as P
tbl = table.open("test")
query.filter = "ID <> ''"
query.options = ""
qry = tbl.query_create()
ptr = qry.find_last()
? qry.find_previous(ptr)
= Key = "11112-01"
Record = 5

See Also