Subject Re: GSG080. Booleans
Author Marco Menardi
I've found very powerful defining boleans using ColumnAttributes at IB_Connection level (with FieldEntryTypes at fetDomainName), so my whole app will benefit from that definition (of course, you must use domains consistently in your database)
regards
Marco Menardi


--- In IBObjects@y..., "Ulrich_Groffy" <ulrich.groffy@t...> wrote:
> You define with a domain at the server which values your boolean datatype
> should have. 'YES/NO' or 'TRUE/FALSE' or '0,1' it doesn't matter.
>
> Then you have to 'tell' IBO which datafield of your table is boolean and
> with which value means booelan 'true' and which value means boolean 'false'.
>
> I use the property TIB_Query.ColumnAttributes to define this.
>
> You also can use the TIB_Query component editor to do it at design time
>
> Ulrich
>
>
>
> "Raymond Kennington" <progsol@c...> schrieb im Newsbeitrag
> news:3DAAC365.1AF76305@c...
> > Does Firebird have a Logical datatype now?
> >
> > If so, how does IBObjects make use of it and does the section
> >
> > "Implementing a Boolean - TIB_CheckBox"
> >
> > need to be rewritten?
> > --
> > Raymond Kennington
> > Programming Solutions
> > W2W Team B
> >
> >
> >
> ___________________________________________________________________________
> > IB Objects - direct, complete, custom connectivity to Firebird or
> InterBase
> > without the need for BDE, ODBC or any other layer.
> >
> ___________________________________________________________________________
> > http://www.ibobjects.com - your IBO community resource for Tech Info
> papers,
> > keyword-searchable FAQ, community code contributions and more !
> >
> > Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
> >
> >
> >