水晶报表(crystal report )中显示CheckBox

1,在crystal report 报表的右边field explorer导航栏里面

新建一个formula field 并命名,最后的时候把拖个来的field 字体改为Wingdings

2,右键edit刚建好的formula field ,写一个控制checkbox 显示的表达式如下:

if {Command.CLAIMANT_SIGNATURE_FLAG} = 'Y' then
chrw(254)
else
chrw(168)

如下图操作:

显示完成

原文地址:https://www.cnblogs.com/bella-life-blog/p/3927737.html