QUERY.FETCH_STATE_LIST_GET Function
Syntax
OutputString as C = .FETCH_STATE_LIST_GET( Records as N [, Step as N ] )
Arguments
- Records
The number of records to examine.
- Step
Optional. Default = 1. The interval between records.
Description
The .FETCH_STATE_LIST_GET() method returns a list of fetch states from head or tail of a query list (direction depends on +/- records).
Example
dim tbl as P
dim rec as C
dim nrecs as N
dim qry as P
rec = "11111"
tbl = table.open("test")
query.filter = "rec = left(ID,5)"
qry = tbl.query_create()
? qry.fetch_state_list_get(-4)
= "1 2 3 4 "See Also