From: Lutz Steinborn <l.steinborn@4c...>  20050712 12:19:33

On Tue, 12 Jul 2005 09:10:29 0300 michelts <michelts@...> wrote: >=20 > I don't understand very well, do you need something like this: >=20 > >>> class SomeString(SQLObject): > >>> s =3D StringCol(length=3D10) > >>> > >>> instance =3D SomeString(s=3D'somelargestring') > >>> instance.s > 'somelarges' >=20 > You can edit the _set_s method and truncate the string there > but I don't know how you can know the length define in the > StringCol instanciation... =20 This is exactly what I'am looking for. I know the getter and setter of properties. But as you say, I'am missing the information how to get the the length of the StringCol from the instanciation. But I'am sure somebody on this list knows it. have an nice day=20 Greetings =20 Lutz Steinborn mailto:l.steinborn@... 4c AG Tel +49 6092 999592 StefanGeorgeRing 8 Fax +49 89 99341 399 81929 M=FCnchen http://www.4cshopping.de 