[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    [PyKDE] Howto QSqlPropertyMap a SQL TEXT field?
From:       Hans-Peter Jansen <hpj () urpla ! net>
Date:       2002-07-30 20:16:34
[Download RAW message or body]

Hi Qties,

when I try to connect a SQL TEXT field to a QTextEdit widget from 
within a QDataTable driven QSqlForm:

QSqlField::setValue: descfield cannot cast from QString to QByteArray

is emitted. Consequently this doesn't work as expected. Connecting a 
QTextEdit widget to a VARCHAR(255) field works fine, but with the implied 
limitation. How do I connect is one to a SQL TEXT field in order to enjoy
its much larger limits?

TIA,
Hans-Peter
---
PyQt 3.3.2, Qt 3.0.4, Python 2.1.1, i32/Linux 2.4.18, MySQL 3.23.41.

_______________________________________________
PyKDE mailing list    PyKDE@mats.gmd.de
http://mats.gmd.de/mailman/listinfo/pykde
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic