水晶报告 - 如何不总和抑制字段

时间:2014-11-14 09:58:37

标签: crystal-reports report formula-editor

如果物品代码与我的抑制条件不匹配,我收到了需要取消数据的发票,那么我必须在总行上执行总计!

我不知道什么是只计算被抑制为假的字段的公式。

我目前的公式如下,我想我可以"如果LineTotal没有被抑制,那么总计其他线路0"

IF {OITM.ItmsGrpCod} = 112 then
   sum ({INV1.LineTotal})
else 0

This my invoice, because this is the Haulage Copy, so we don't want show them the item price of each item.

1 个答案:

答案 0 :(得分:0)

实现此要求的最佳方法是:

为所有`item - code'创建运行总计并为该部分写一个抑制条件来压制不需要显示的代码。

your idea of summing only if not supressed will complicate the report,请按照建议的方式尝试

相关问题