Subject Re: [IBO] Converting BDE to IBO
Author Helen Borrie
At 09:41 AM 4/11/2005 -0300, you wrote:
>Hi Helen,
>
>CREATE DOMAIN BOOLEAN AS
>CHAR(1) CHARACTER SET WIN1252
>DEFAULT 'N'
>CHECK (value in ('N', 'S'))
>COLLATE WIN1252
>
>I do the tests with two fields. One using the domain above, and other
>field without domain. The result was the same: both 'N' (false) and
>'S' (true) are handle as false!!! Tried with 'T' and 'F', and didn't
>works too.
>
>I don't know what is happen.

Do you have these properties set in your DBCheckBox?

DBCheckBox1.ValueChecked := 'S';
DBCheckBox1.ValueChecked := 'N';

I don't think TDBCheckBox is specifically for Boolean pairs like
TIB_CheckBox is...

Helen