Subject | "Dirty CheckBox" problem if the table is fully empty |
---|---|
Author | freeadmin |
Post date | 2002-04-12T12:17:02Z |
Hi,
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?
Regards,
Norbert
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?
Regards,
Norbert