revQueryIsAtEnd

Typefunction
DictionaryLCS
LibraryLiveCode Script
Syntax
revQueryIsAtEnd(<recordSetID>)
Synonymsrevdb_iseof
Summary

Returns whether the end of a record set has been reached or not.

Introduced2.9
OSmac, windows, linux, ios, android
Platformsdesktop, server, mobile
Parameters
NameTypeDescription
recordSetID

The number returned by the revQueryDatabase function when the record set was created

Example
repeat until revQueryIsAtEnd(tCursor)
  ...
  revMoveToNextRecord tCursor
end repeat
Values
NameTypeDescription
return

The revQueryIsAtEnd function returns true if the revMoveToNextRecord command has been called with the cursor pointing to the last record.

RelatedCommand: revMoveToNextRecord, revMoveToNextRecord
Function: revQueryIsAtStart
Glossary: command
Securitydisk, network
Description

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"