Subject | Re: Boolean - Data-aware connection |
---|---|
Author | gorepj |
Post date | 2008-02-23T13:13:20Z |
Thanks for both answers, that's what I needed :)
Regards
Peter
Regards
Peter
--- In firebird-support@yahoogroups.com, "SoftTech" <miket@...> wrote:
>
> Hi Peter,
>
> In Firebird, create a field and set it's type to SMALLLINT, make it
NOT NULL, and Set the DEFAULT = 0 (Zero)
>
> In Delphi set the ValueChecked = 1 (which is the value you will use
to represent a True value) and ValueUnhecked = 0 (False)
>
> Simple as that,
>
> Mike
>
> ----- Original Message -----
> From: gorepj
> To: firebird-support@yahoogroups.com
> Sent: Saturday, February 23, 2008 2:35 AM
> Subject: [firebird-support] Boolean - Data-aware connection
>
>
> Hi all,
>
> Given there is no Firebird boolean datatype, how can I map a
Delphi
> data - aware DBCheckbox component to a Firebird Table field? I'm
> looking for a codeless method that writes one value when checked
and a
> different value when unchecked.
>
> Peter Gore
>
>
>
>
>
> [Non-text portions of this message have been removed]
>