[PyQt] QSqlQuery Error

Matt Newell newellm at blur.com
Thu Nov 1 16:44:13 GMT 2007


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


More information about the PyQt mailing list