Error getting tags :
error 404Error getting tags :
error 404 revOpenDatabases | revDocs | RunRev
Welcome Guest (Log in)
Product Edition
Version
revOpenDatabases
Basics
Expander triangle
Type
Function
Syntax
revOpenDatabases()
Introduced
1.1
Changed
2.0
Environment
Desktop, Web and Server
Platform Support
MacOS,Mac OS X,Windows,Linux
Security
Disk,Network
Summary
Returns a list of open databases.
Examples

revOpenDatabases()
repeat for each item thisConnection in revOpenDatabases()
if revOpenDatabases is empty then cleanUp

Additional Comments
Expander triangle

Use the revOpenDatabases function to find out how many databases are open, or in a repeat loop to access all the open databases in turn.

Value:

The revOpenDatabases function returns a list of database IDs separated by commas.

Comments:

The database ID returned by the revOpenDatabases function is the same as the number returned by the revOpenDatabase function when the database was opened.

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

Important! The revOpenDatabasescommand 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.

Changes to Revolution:

The revOpenDatabases synonym was added in version 2.0.

User Comments
Expander triangle