Hi,

I have problem with mapping MS SQL 'bit' type to Dabo 'B' type
and finally, Python boolean type.
Pymssql return this type as boolean, but Dabo convert it
by default to integer type, what is correct behaviour I think.
Data updating works fine, but it fails when I'm trying
to add new row, because integer type is expected,
while dCheckBox control bound to filed returns boolean instead.
As far as I can see, Dabo type conversion mechanism
between persistence and presentation layer is unidirectional.
Only solution I have found working is to overwrite bizobj
setFieldVal() method to convert such data.
Is my approach correct or I missed some important Dabo feature?

-- 
Regards
Jacek Kałucki

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/[email protected]

Reply via email to