Subject | Re: [IBO] "Dirty CheckBox" problem if the table is fully empty |
---|---|
Author | Helen Borrie (TeamIBO) |
Post date | 2002-04-12T12:50:01Z |
At 02:17 PM 12-04-02 +0200, you wrote:
to either your True or False value. IBO won't apply a default until it
comes to post the insert and then it will apply it only if finds it to be null.
What are you seeing that you think is a bug?
regards,
Helen Borrie (TeamIBO Support)
** Please don't email your support questions privately **
Ask on the list and everyone benefits
Don't forget the IB Objects online FAQ - link from any page at
www.ibobjects.com
>Hi,In Insert mode, you should see a "dirty checkbox" until you set the field
>
>Part of Metadata:
>
>CREATE DOMAIN DM_BOOLEAN AS CHAR(01) DEFAULT 'N' NOT NULL
> CHECK ( VALUE IN ('I','N'));
>
>CREATE TABLE IBBOOL (
> IBBOOL_ID INTEGER NOT NULL,
> FLDBOOL DM_BOOLEAN NOT NULL,
> CONSTRAINT PK_IBBOOL PRIMARY KEY (IBBOOL_ID)
>);
>
>Query settings:
>
> object IB_Query1: TIB_Query
> ColumnAttributes.Strings = (
> 'FLDBOOL=BOOLEAN=I,N;REQUIRED')
> DatabaseName = 'IBB.GDB'
> ...
> DefaultValues.Strings = (
> 'FLDBOOL=N')
> ...
> end
>
>According to the above settings the "Dirty CheckBox"
>problem is valid only if the table (IBBOOL) is fully
>empty and the table is in browse mode.
>I experienced this problem with the D5, IBO 3.6Di
>and IB 6.0.1.0 tools.
>
>Do I make a mistake or is this a bug in the IBO 3.6Di?
to either your True or False value. IBO won't apply a default until it
comes to post the insert and then it will apply it only if finds it to be null.
What are you seeing that you think is a bug?
regards,
Helen Borrie (TeamIBO Support)
** Please don't email your support questions privately **
Ask on the list and everyone benefits
Don't forget the IB Objects online FAQ - link from any page at
www.ibobjects.com