Hi Everyone,
I have written a UI which was working fine in debug mode. But when I have tried to execute the same code in release I am getting the following warning.
"QSqlQuery::value: not positioned on a valid record".
But except of this warning, everything else is working fine. Now my question is how to remove this warning please? Code stated below is giving the above warning,
Qt Code:
int iResult = m_pSqlQuery[1].value(0).toInt(&bOk);To copy to clipboard, switch view to plain text mode
Bookmarks