【问题标题】:Crystal Reports Suppress a field with suppress formulaCrystal Reports 使用抑制公式抑制字段
【发布时间】:2014-01-08 19:59:12
【问题描述】:

您好,我使用的是 Crystal Report 2008,场景如下:

  ITEM No.           Product            Pcs       Status (this Status field is hidden)
  -------------------------------------------------------
  1                 Product1           2030       Cancelled  
  2                 Product2           1000       Cancelled
  3                 Product3           5000       Ok
  4                 Product4           3000       Cancelled
  5                 Product5           4000       Ok

现在如何通过公式在“详细信息/组”部分抑制所有状态为“已取消”,输出应如下所示:

  ITEM No.           Product            Pcs       Status (this Status field is hidden)
  -------------------------------------------------------
  1                 Product3           5000       Ok
  2                 Product5           4000       Ok

【问题讨论】:

  • 只将这个抑制公式添加到该部分有什么问题? {Table.Status}='Cancelled'

标签: crystal-reports crystal-reports-2008


【解决方案1】:

您可以通过两种方式进行操作。

  1. 在“部分专家”上,隐藏(无向下钻取)输入 Status = 'Cancelled'
  2. 为状态添加一个参数(OK、Cancelled、All),以便您可以根据选择过滤记录。

【讨论】:

  • 但是数字呢?如果线路被抑制,我该如何重置?
猜你喜欢
  • 1970-01-01
  • 2013-10-27
  • 2011-05-02
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2019-09-30
  • 1970-01-01
  • 2014-03-31
相关资源
最近更新 更多