I have some problems when using a select statement in the bindValue function
Locked
Unsolved
General and Desktop
-
Hi
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(); }
-