revQueryIsAtEnd

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

# Metadata

Platforms: desktop, server, mobile OS: mac, windows, linux, ios, android Introduced: 2.9 Security: disk, network

# Syntax

revQueryIsAtEnd(recordSetID)

# Params

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

# Examples

repeat until revQueryIsAtEnd(tCursor) ... revMoveToNextRecord tCursor end repeat

# 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"

# Tags

# See

- **command:** revMoveToNextRecord, revMoveToNextRecord - **function:** revQueryIsAtStart - **glossary:** command