[PyQt] QSqlQueryModel works but QSqlTableModel doesn't work

Simone simozack at yahoo.it
Tue Mar 4 17:45:50 GMT 2008


Ivan Coronado ha scritto:
> Ja ja ja, yes, now the table has 15 records. Using QSqlQueryModel I can see the records. Another rare thing, If I use QSqlTableModel I only see the column names, but If I click in any header of the table, all the column names disappear.

It seems something related to the status of table. Do you have the 
permission to read the table? Which database are you using?

Simone

Chiacchiera con i tuoi amici in tempo reale! 
 http://it.yahoo.com/mail_it/foot/*http://it.messenger.yahoo.com 



More information about the PyQt mailing list