Skip to content

Using a Checkbox in v8

First, look at the following screenshot that shows what I mean by using a checkbox in your report output.

Using a checkbox

The "Wilson Bolt and Nut Company" is not active, hence the ballot box without a checkmark. How can you achieve this in DataFlex Reports v8?

In the report, create a function named CustomerStatus and place the following code in the function body:

if {Customer.Status}='Y' then
    return '☑' // U+2611
else
    return '☐' // U+2610
end