Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
I have some problems when using a select statement in the bindValue function
lso70 last edited by
Then you should describe the problems, show any errors and
show the code that has this issue.
With that level of information, you currently have added, most will simply skip your post.
here is sample.
QSqlQuery query; query.prepare("INSERT INTO person (id, forename, surname) " "VALUES (:id, :forename, :surname)"); query.bindValue(":id", 1001); query.bindValue(":forename", "Bart"); query.bindValue(":surname", "Simpson"); query.exec(); }
VRonin last edited by