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

revDatabaseConnectResult(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 most recent error message for a database.
Examples

revDatabaseConnectResult(line x of the openDatabases)
if revDatabaseConnectResult(myReservations) is empty then exit repeat

Additional Comments
Expander triangle

Use the revDatabaseConnectResult function to check for successful completion of commands.

Parameters:

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

Value:

The revDatabaseConnectResult function returns a string.

Comments:

If there were no errors on the specified database connection, the revDatabaseConnectResult function returns empty. Otherwise the revDatabaseConnectResult function returns the database specific error message for the most recent database operation that failed.

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

User Comments
Expander triangle