On Thursday 01 November 2007 08:14, Linos wrote: > Hello, > queryinsertmaxdb = QSqlQuery(maxdb) > queryinsertmaxdb.prepare("INSERT INTO NAMESPACE.MODELO_FAMILIA (FAMILIA_ID, > NOMBRE, SECCION) VALUES (?, ?, ?)") > I think you should try creating the QSqlQuery and the prepare inside the loop. If everything works fine then report the bug to trolltech. Matt