Hi,
we use Sql-Server as database, which use bit-type for boolean. We would like to use a tri-state Check-box. Unfortunately we have started to use $STORE_BOOLEANS_AS_FALSE in ASN-file, which stores null as 0 (false) for boolean-fields.
My tri-state Checkbox works as I remove $STORE_BOOLEANS_AS_FALSE, ie.
Checkbox On - 1 in database
Checkbox Off - 0 in database
Checkbox undetermined - null in database. (Actually bit can be null)
However using $STORE_BOOLEANS_AS_FALSE
Checkbox On - 1 in database
Checkbox Off - 0 in database
Checkbox undetermined - 0 in database.
I dare not remove $STORE_BOOLEANS_AS_FALSE from ASN-file.
Is there a way to use a tri-state Checkbox, having $STORE_BOOLEANS_AS_FALSE in ASN-file?
Wanting to distinguish between leaving field empty and choosing No (false), do I have another choice than using a Radio-button?
Regards RogerW.