[PyQt] Bug QSqlRelationalTableModel? Database numeric NULL fields reported as zero

bar tomas bartomas at gmail.com
Thu Jan 21 16:53:27 GMT 2010


Hi,

 I've noticed that QSqlRelationalTableModel reports numeric null
fields as zero. I wonder if this is a bug.
What is the simplest way to change this behaviour  to set NULL values
to blank instead of zero when they are displayed?
Many thanks.


More information about the PyQt mailing list