Handling Database error messages
Posted: Thu Oct 15, 2009 12:12 am
How can you get the specific text of an SQLite error message in Revolution?
The databse functions all return a useless generic message "revdberr, Database error: SQL error or misisng database"
All I can find in the dictionary is the revdb_connectionerr and its synonym. Calling that after the the generic error message above is detected is returning empty which the dictionary claims means there was no error.
I'll be using the SQLite RAISE function to issue custom error messages in some cases and it will be a major issue if I can't find out exactly what error occured.
I use the excellent Firefox plugin to manage my SQLite db's and it returns error messages just fine. Surely if a free tool can handle errors correctly, Revolution should? Is there some other way to do this that I'm missing?
The databse functions all return a useless generic message "revdberr, Database error: SQL error or misisng database"
All I can find in the dictionary is the revdb_connectionerr and its synonym. Calling that after the the generic error message above is detected is returning empty which the dictionary claims means there was no error.
I'll be using the SQLite RAISE function to issue custom error messages in some cases and it will be a major issue if I can't find out exactly what error occured.
I use the excellent Firefox plugin to manage my SQLite db's and it returns error messages just fine. Surely if a free tool can handle errors correctly, Revolution should? Is there some other way to do this that I'm missing?