Cheryl <cheryl@...> writes:
>
>
> the datatype in Postgres is boolean
>
>
the code that I should have posted originally datatype = "bool", but it didn't
work, so I tried "integer", but that didn't work either.
def afterInit(self):
col = dabo.ui.dColumn(self, Name="key_field", Order=10,
DataField="key_field",DataType="bool", Width=60,
Caption="Key?", Sortable=False,Searchable=False, Editable=True)
self.addColumn(col)
this is the code that actually gave me the error: data type mismatch, Expecting
type 'bool', got type 'int'.
_______________________________________________
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]