Cannot update a table with this code
"n_ord" is an integer primary key table field and "ord" its actual value
Can someone helps ?
Thanks in advance
Printable View
What's the error you get?
It works, thank you !
Why does my previous code fail in QT ? In Java, for instance, it is correct ...
To avoid possible injections have a look at QSqlQuery::prepare().