Subject Re: [IB-Architect] Re: IB 6.1 Whish: boolean field
Author Paul Gallagher
If someone wants to take the time to add boolean type to IB6, I doubt that
it would be a problem, but it would be of minimal advantage. Especially with
IBO, it is basically already there. The only instance I can see an
advantage, is in stored procedures, i.e:

IF MYBOOLEANFIELD=1 then do something
could be shortened to
IF MYBOOLEANFIELD then do something

Paul

----- Original Message -----
From: Damyan Ivanov <ib-architect@...>
Newsgroups: mers.interbase.ib-architect
To: <ib-architect@...>
Sent: Thursday, August 03, 2000 10:18 AM
Subject: [IB-Architect] Re: IB 6.1 Whish: boolean field


> John Huntjens wrote:
> >
> > I wonder how the community feels abou implementing a boolean field type
into
> > interbase ?
> >
> > At this moment I use a domain, but i would like a real boolean type
better.
>
> and I replied:
>
> What's wrong with the domain?
> >
> > create domain boolean as smallint default 0 not null check(value in
> > (0,1))
> >
> > or
> >
> > create domain boolean as char(1) default 'F' not null check(value in
> > ('F','T'))
>
> and John replied:
>
> > 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)
>
> I see.
>
> anyway, I use IBO and there's realy nice way of getting around this
> issue.
> give IBO a try, it is realy good.
>
> >
> > Also, I find some strange behaviour in the default, I have to duck in it
> > deeper te remember what it was.
> >
> > John
>
>
> Bye
> --
> Damyan Ivanov
>
> _______________________________________________
> Ib-architect mailing list
> Ib-architect@...
> http://mers.com/mailman/listinfo/ib-architect
>
>
>
> To unsubscribe from this group, send an email to:
> IB-Architect-unsubscribe@onelist.com
>
>
>
>