Page 1 of 1

BooleanDomainFields overides null when set to false

Posted: Tue 08 Sep 2009 08:21
by sedcodev
Im using UniDAC 2.70 and I think I have found a bug. When posting a record to the database instead of setting the value to NULL it sets it to zero. This field is defined as a BOOLEAN_FIELD but I don't want it to behave as one instead I want it to act as a regular integer field.

I'am in the process off porting legacy software to the UniDAC components and the BOOLEAN_FIELD is just a plain Nullable Small Integer Field at this time.

When BooleanDomainFields is set to false should the UniDAC component return to standard behavour and allow null values.

Posted: Wed 09 Sep 2009 08:21
by Plash
When BooleanDomainFields = False, UniDAC works with such field as with normal SMALLINT field and allows NULL values.