As I understand it, revDatabaseConnectResult is supposed to return the last
error message that occurred for a database connection id, or empty if there
was no error.
In my usage, it always returns empty even if there was an error on the last
SQL command.
Anyone else tried using it and got it to
file a bug report.
other then that, workaround is obviously to check if
revDatabaseConnectResult(gDBID) is empty, and then create your own error.
On 02.05.2012, at 03:23, Peter Haworth wrote:
> Unless I'm misunderstanding something, the above function doesn't work, at
> l
Unless I'm misunderstanding something, the above function doesn't work, at
least with sqlite.
I have the following code snippet:
*put* revDataFromQuery(,,gDBID,psql) into myData
*if* myData begins with "revdberr" *then*
*return* revDatabaseConnectResult(gDBID)
end