On Jun 13, 2007, at 4:28 AM, VGSoftware wrote:

> Now, nothing is perfect :D.... and once more i'm stuck with  
> something...
> linking a database field with a dCheckListBox
> I do the regular procedures, DataField, DataSource, etc, but when i
> select a item from the dCheckListBox i get an error on the python  
> console:
>
> Dabo Error Log: Wed Jun 13 08:52:58 2007: !!! Data Type Mismatch:
> field=beneficios. Expecting: <type 'unicode'>; got: <type 'tuple'>
>
> I understand the error... and why it is happening... my question is:
> What's the best way to solve it??

        First off, what is the data type of the field to which you're  
linking? dCheckListBox, by its very nature, is a multi-value control,  
so whatever it is bound to must accept a tuple of values.

        If you explain a little bit more about what it is you're doing, we  
can suggest either a more appropriate control, or a different way of  
processing the values it sends back to the table.

-- Ed Leafe
-- http://leafe.com
-- http://dabodev.com




_______________________________________________
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/dabo-users/[EMAIL PROTECTED]

Reply via email to