[PyQt] QSqlQuery Error
Linos
info at linos.es
Thu Nov 1 16:58:06 GMT 2007
Matt Newell escribió:
> 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
I have tried and it works well if i execute the prepare method inside the loop.
More information about the PyQt
mailing list