Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
SQL data extraction error
fkaraokur last edited by
I have a query like this.
query.prepare("Select * from Liste WHERE id=?"); query.addBindValue(id_); query.exec();
This query only returns 1 row of 4 columns. I checked this out.
I want to get the column values in this single row. The following procedure did not work. What should I do?
The following codes did not work. and it gives an error like this.
QSqlQuery::value: not positioned on a valid record