Error getting tags :
error 404Error getting tags :
error 404 revDatabaseCursors | revDocs | RunRev
Welcome Guest (Log in)
Product Edition
Version
revDatabaseCursors
Basics
Expander triangle
Type
Function
Syntax
revDatabaseCursors(databaseID)
Introduced
1.1
Changed
2.0
Environment
Desktop, Web and Server
Platform Support
MacOS,Mac OS X,Windows,Linux
Security
Disk,Network
Summary
Returns the record set (database cursor) IDs associated with a connection to a database.
Examples

revDatabaseCursors(weeklyReportsDB)
put the number of items of revDatabaseCursors(2) into numberOfSets
repeat for each item thisResultSet in revDatabaseCursors(myDB)

Additional Comments
Expander triangle

Use the revDatabaseCursors function to perform an operation on each record set, or to find out how many record sets exist on a particular database connection.

Parameters:

The databaseID is the number returned by the revOpenDatabase function when the database was opened.

Value:

The revDatabaseCursors function returns a list of record set IDs separated by commas.

Comments:

The record set IDs returned are those opened by the specified databaseID.

Important! The revDatabaseCursorsfunction 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 revDatabaseCursors synonym was added in version 2.0.

User Comments
Expander triangle