Thanks for answering. Unfortunately I am using Qt 4.5.3 and this is not working. I tried to set the value directly with the QSqlRecord.

Is it an issue corrected in Qt 4.7 or do I have a chance with Qt 4.6?