想要在Red&中显示它在大胆 [英] Want to show it in Red & in Bold

查看:79
本文介绍了想要在Red&中显示它在大胆的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我想在颜色公式中用红色显示不同值的字段,如果是iif({p_sql.OPERATOR_CODE,则为
}),'',trim({p_sql.OPERATOR_CODE}))<> iif(isnull({p_sql.SLOT_OPERATOR}),'',trim({p_sql.SLOT_OPERATOR}))然后crRed else crBlack

Hi,
I want to show the fields with different values in red within the color formula by this
if iif(isnull({p_sql.OPERATOR_CODE}),' ',trim({p_sql.OPERATOR_CODE})) <> iif(isnull({p_sql.SLOT_OPERATOR}),' ',trim({p_sql.SLOT_OPERATOR})) then crRed else crBlack

但它仍然显示在下面的黑色中。以下突出显示的是上面的两列。

http://www.4shared。 com / photo / HFs2KLFr / FIG76.html

But still it's shown in black below. The following highlighted ones are the 2 columns above.
http://www.4shared.com/photo/HFs2KLFr/FIG76.html

推荐答案

您好,

您在哪里添加了这个公式?如果要格式化字段的ForeColor,则必须执行以下操作。

Where you have added this formula? If you want to format the ForeColor of the Fields then you have to do the following.

R.单击字段并选择格式化对象。

R.Click the Field and select Format Object.

在"格式编辑器"窗口中,选择"字体"选项卡。

In the Format Editor window select the Font Tab.

单击"颜色"旁边的"公式"按钮(x + 2)。

Click the Formula button(x+2) next to Color.

在此处编写公式。

我尝试了一个正常工作的公式。

I have tried a formula which works correctly.


if(iif(isnull({Employees.decField}),0,{Employees.decField})>5) then
CrRed
Else
CrGreen


这篇关于想要在Red&amp;中显示它在大胆的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆