[PyKDE] Postgres, Qsqlfield and setNull()

César González cesar at eureka-sistemas.com
Tue Sep 16 14:37:01 BST 2003


Never mind, it was a problem in my code not in qt, pyqt. 

Excuse me the question and thanks for your reply.


El Martes, 16 de Septiembre de 2003 12:41, escribió:
> On Tuesday 16 September 2003 11:28 am, César González wrote:
> > Hi everybody ;)
> >
> > 	I am developing an interface for a postgres database with PyQT and i
> > having problems setting values to NULL from PyQT :
> >
> > 	self.dataBrowser1.sqlCursor().editBuffer().field("stock").setNull()
> >
> > This set field "stock" to zero instead NULL.
> >
> > Is this a bug in PyQT bindings or should i go to the qt mailing list with
> > the question?
> >
> > I have Debian Sid, postgres 7.3.4, qt 3.2.1 and PyQt 3.8.
>
> It's very unlikely that it's a PyQt problem.
>
> Phil

-- 
César González Revilla
Eureka Sistemas
http://www.eureka-sistemas.com/
cesar at eureka-sistemas.com
Gnupg Public Key 
http://www.eureka-sistemas.com/keys/cesar.asc




More information about the PyQt mailing list