更改晶体报告中的颜色字段 [英] change color fields in crystall report
本文介绍了更改晶体报告中的颜色字段的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何更改晶体报告中的颜色字段?
how to change color fields in crystall report?
推荐答案
您可以根据条件更改报告中报告字段的前色.
1.右键单击该字段.
2.选择格式化对象.
3.转到字体选项卡.
4.单击公式生成器"按钮为字段的颜色"指定一个公式.
5.Formula车间窗口打开.
6.在此处拖动要在公式i-e OrderTypeField中使用的数据库字段.
You can change the forecolor of the report field in your report based on a condition.
1.Right click the field.
2.Select Format object.
3.Goto font Tab.
4.Specify a formula for the Color of the Field by clicking the Formula generator button.
5.Formula workshop window opens.
6.Drag the database fields to be used in the formula i-e OrderTypeField here.
尝试一下!!!!
在水晶报表的设计视图中,选择列",然后转到格式",然后选择字体的公式按钮"并编写
如果Tablename.ReportColumnname = 0,则
红色
其他
蓝色
保存并刷新您的报告
您可以对所有列执行此操作
try this!!!!!
In the design view of crystal Report Select Column goto to Format and Select Formula Button of Font and write
If Tablename.ReportColumnname =0 then
Red
Else
Blue
Save &Refresh your Report
you can do this for all columns
这篇关于更改晶体报告中的颜色字段的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文