Hi, QSqlQuery:repare, and QSqlQuery::exec return boolean results indicating success or failure. I see that you are only checking the result of the query.exec() call. Try examining the result of the prepare methods to ensure they are all successful.
Good luck.
Jeff
Bookmarks