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

revCloseCursor recordSetID

Introduced
2.0
Environment
Desktop, Web and Server
Platform Support
MacOS,Mac OS X,Windows,Linux
Security
Disk,Network
Summary
Closes a record set (database cursor).
Examples

revCloseCursor 3
revCloseCursor finalResults

Additional Comments
Expander triangle

Use the revCloseCursor command to clean up after using a record set in a database.

Parameters:

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

Comments:

All open record sets are closed automatically when the database they are associated with is closed. However, it is recommended practice to explicitly close record sets when your stack is finished with them.

If the closure is not successful, the result is set to an error message.

Important! The revCloseCursor command is part of the Database library. To ensure that the command 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.

User Comments
Expander triangle