SET.FETCH_EOF Function
Syntax
Result_Flag as L = Fetch_Eof()
Description
returns TRUE if the last record was fetched.
Discussion
The .FETCH_EOF() method returns .T. (TRUE) if the last record was fetched.
Example
The following example shows how to use .FETCH_EOF()to test for the end of a set.
dim ptr as P
ptr = set.open("Invoice")
ptr.fetch_first()
while .not. ptr.fetch_eof()
' do useful things
ptr.fetch_next()
wend
ptr.close()See Also