If you connect your DBCheckBox to a boolean field, the checkbox will be checked if the field is true and empty if false... regardless the database you are connecting to. If however you are connecting it to a text or integer field, you can define what represents True and False using the BooleanTrue and BooleanFalse properties.
If for instance as you mention below you would like two values to represent True, I would recommend using an ordinary TmyCheckBox object and in the DetailBand.BeforePrint event, check the value of the field an mark the checkbox accordingly.
Comments
If you connect your DBCheckBox to a boolean field, the checkbox will be
checked if the field is true and empty if false... regardless the database
you are connecting to. If however you are connecting it to a text or
integer field, you can define what represents True and False using the
BooleanTrue and BooleanFalse properties.
If for instance as you mention below you would like two values to represent
True, I would recommend using an ordinary TmyCheckBox object and in the
DetailBand.BeforePrint event, check the value of the field an mark the
checkbox accordingly.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com