Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

ppDBCheckBox

edited February 2005 in General
Hi,

How do I get the checkmark inside that box if the corresponding datafield is
true or 1?

Regards,

Nols Smit

Comments

  • edited February 2005
    Hi Nols,

    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

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
This discussion has been closed.