Subject | Re: IB 6.1 Whish: boolean field |
---|---|
Author | julien_ferraro |
Post date | 2002-02-15T03:37:17Z |
--- In IB-Architect@y..., Helen Borrie <helebor@w...> wrote:
use it with anything else than InterBase, even if I don't see any
good reason why using another database :)
And it should be nice to use AsBoolean with the BDE ... It's better
than AsInteger = 1
Julien
PS : this answer comes nearly 2 years after the original message.
It's because I plan to switch to InterBase from @#$%^&* (that's why I
would like to have 2 differents databases) and found this as a real
problem. SO I went to the list archives. But maybe I missed something
that happened later...
> At 03:57 PM 03-08-00 +0200, you wrote:field type
> > >> I wonder how the community feels abou implementing a boolean
> >intotype
> > >> interbase ?
> > >>
> > >> At this moment I use a domain, but i would like a real boolean
> >better.in
> > >
> > >What's wrong with the domain?
> > >
> > >create domain boolean as smallint default 0 not null check(value
> > >(0,1))(value in
> > >
> > >or
> > >
> > >create domain boolean as char(1) default 'F' not null check
> > >('F','T'))get a
> >
> >
> >I know, but on the delphi side you cannot use a TBooleanField, but
> >TSmallIntergerField, and thats needs some coding to work. (Youcannot use a
> >TDBCheckbox for example)in it
> >
> >Also, I find some strange behaviour in the default, I have to duck
> >deeper te remember what it was.defaults at
> >
> >John
>
> It sounds as if you need IBObjects. You can set all domain
> connection level AND tell the application the true and false valuesfor
> Booleans - then your delphi app will treat every occurrence of thatdomain
> as Boolean for evaluations AND display them in checkboxes when youuse 'em
> in grids. And automatically fetch generator values. etc.etc. "right
> tool for the job".SQL3).
>
> Boolean isn't a standard SQL92 type (tho' it was introduced in
>Of course we can use IBObjects. But tell me if I'm wrong : You cannot
> Helen
use it with anything else than InterBase, even if I don't see any
good reason why using another database :)
And it should be nice to use AsBoolean with the BDE ... It's better
than AsInteger = 1
Julien
PS : this answer comes nearly 2 years after the original message.
It's because I plan to switch to InterBase from @#$%^&* (that's why I
would like to have 2 differents databases) and found this as a real
problem. SO I went to the list archives. But maybe I missed something
that happened later...