Subject RE: [IB-Architect] Re: IB 6.1 Whish: boolean field
Author Claudio Valderrama C.
> -----Original Message-----
> From: ib-architect-admin@... [mailto:ib-architect-admin@...]On
> Behalf Of John Huntjens
> Sent: Jueves 3 de Agosto de 2000 9:57
>
> >create domain boolean as char(1) default 'F' not null check(value in
> >('F','T'))
>
> I know, but on the delphi side you cannot use a TBooleanField, but get a
> TSmallIntergerField, and thats needs some coding to work. (You
> cannot use a
> TDBCheckbox for example)
>
> Also, I find some strange behaviour in the default, I have to duck in it
> deeper te remember what it was.
>
> John

That's maybe because you are using TBDE descendants? In IBO, setting a
boolean field from a datatype is a snap.
Call me a show stopper if you want, but I wonder how can one make all people
agree on what's a boolean field. In a programming language, so simple. In a
database, it can be a char, an smallint, etc. Maybe we need to ask Diane in
the Mers list about the proposed SQL implementation, if such recommendation
exists.

C.