Hi,
When you execute a query using QSqlQuery, and it generates an error, Then you can use the QSqlQuery::lastError() to get the QSqlError, Now if the number() returns -1, it just means that there wasn't any error.
Hi,
When you execute a query using QSqlQuery, and it generates an error, Then you can use the QSqlQuery::lastError() to get the QSqlError, Now if the number() returns -1, it just means that there wasn't any error.
We can't solve problems by using the same kind of thinking we used when we created them
Bookmarks