Returns whether the end of a record set has been reached or not.
Syntax:
revQueryIsAtEnd(<recordSetID>)
Examples:
repeat until revQueryIsAtEnd(tCursor) ... revMoveToNextRecord tCursor end repeat
Use the revQueryIsAtEnd function to stop when you reach the end of a record set.
If the operation is not successful, the revQueryIsAtEnd function returns an error message that begins with the string "revdberr"
Parameters:
- recordSetID: The number returned by the revQueryDatabase function when the record setwas created
- Returns: The revQueryIsAtEnd function returns true if the revMoveToNextRecord command has been called with the cursor pointing to the last record.
See also: revMoveToNextRecord (command),revQueryIsAtStart (function), RevDataFromQuery, RevExecuteSQL