Subject Re: Paradox To Interbase Boolean Survey
Author Marco Menardi
I've two domains, one whith false as default, the other with true.
Remember to specify "NOT NULL" so your checkboxes will not be grayed.
In addition, in the *connection* component ColumnAttributes, put
something like:
YESNOTYPE=BOOLEAN=Y,N
NOYESTYPE=BOOLEAN=Y,N

In the connection DefaultValues set their defaults
YESNOTYPE=Y
NOYESTYPE=N

and set it's FieldEntryTypes to [fetDomainName]

All your fields in all queryes that are of those domains will behave
as booleans AUTOMATICALLY!


CREATE DOMAIN YESNOTYPE AS
CHAR(1)
DEFAULT 'Y'
NOT NULL
CHECK (VALUE IN ('Y', 'N'))

CREATE DOMAIN NOYESTYPE AS
CHAR(1)
DEFAULT 'N'
NOT NULL
CHECK (VALUE IN ('Y', 'N'))

Regards
Marco Menardi