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

revQueryResult(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 the most recent error message associated with a record set (database cursor).
Examples

revQueryResult(field "Current Set")
if revQueryResult(thisCursor) is not empty then beep 2

Additional Comments
Expander triangle

Use the revQueryResult function to check for successful completion of SQL commands.

Parameters:

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

Value:

The revQueryResult function returns a string.

Comments:

If there were no errors associated with the specified record set, the revQueryResult function returns empty. If there was an error, then a database-specific string will be returned describing the error.

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

User Comments
Expander triangle