You forgot the parenthesis after the "lastInsertId" statement. Try to find errors in yourself instead of blaming the compiler...
You forgot the parenthesis after the "lastInsertId" statement. Try to find errors in yourself instead of blaming the compiler...
Did you try it???
Now, I'm really having that error with the same code!!! I'm not blaming the compiler, trust me!
I just know there is no public field "lastInsertId" in QSqlQuery but there is a public method with that name.
cydside (9th June 2009)
Anyway your suggestion is working on the latest version, thanks!
PS: If you have time, try it!
Bookmarks