Error getting tags :
error 404Error getting tags :
error 404 revCurrentRecordIsLast | revDocs | RunRev
Welcome Guest (Log in)
Product Edition
Version
revCurrentRecordIsLast
Basics
Expander triangle
Type
Function
Syntax

revCurrentRecordIsLast(recordSetID)

Introduced
1.1
Changed
2.0
Environment
Desktop, Web and Server
Platform Support
MacOS,Mac OS X,Windows,Linux
Security
Disk,Network
Summary
Returns whether the current record is the last record in a record set (database cursor).
Examples

revCurrentRecordIsLast(3)
if revCurrentRecordIsLast(testMySQL) then exit repeat

Additional Comments
Expander triangle

Use the revCurrentRecordIsLast function to stop when you reach the end of the records.

Parameters:

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

Value:

The revCurrentRecordIsLast function returns true if there are no more records, false otherwise.

Comments:

If the operation is not successful, the revCurrentRecordIsLast function returns an error message that begins with the string "revdberr".

Important! The revCurrentRecordIsLast function is part of the Database library. To ensure that the function works in a standalone application, you must include this custom library when you create your standalone. In the Inclusions section of the General screen of the Standalone Application Settings window, make sure the "Database Support" checkbox is checked and the database drivers you are using are selected in the list of database drivers.

Changes to Revolution:

The revCurrentRecordIsLast synonym was added in version 2.0.

User Comments
Expander triangle