Is it possible to have a field that normally displays as a tickbox in a table/form to print as a tick on a report? I've added such a field to a report, but it only prints either YES or NO depending on if the box is ticked or not.
Just in case there is no answer you can duplicate the report section with one showing the tick(can be a bitmap for example) and the other section unticked.
use
currentreport.showoutput(FieldName) in the section with Tick and
currentreport.showoutput(not FieldName) in the section without Tick.
Instead of using bitmap you can use labels or text controls with special font. Check in charmap or copy in word and select font:
Wingdings: xûüýþ
Wingdings 2:OPQRST
If you want exact copy of tickmark, you can play with:
Marlett: abcdef
You should consider range of users' OS and choose font that all have.
2. Instead of 2 secitions you can use 1 section and use a text control with text global "tTick":
OnAfterGetRecord:
IF bTicked THEN tTick := 'a' ELSE tTick := '';
and this 'a' will look like a tick if Marlett font is used.
Comments
use
currentreport.showoutput(FieldName) in the section with Tick and
currentreport.showoutput(not FieldName) in the section without Tick.
Wingdings: xûüýþ
Wingdings 2:OPQRST
If you want exact copy of tickmark, you can play with:
Marlett: abcdef
You should consider range of users' OS and choose font that all have.
2. Instead of 2 secitions you can use 1 section and use a text control with text global "tTick":
OnAfterGetRecord:
IF bTicked THEN tTick := 'a' ELSE tTick := '';
and this 'a' will look like a tick if Marlett font is used.
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯