【问题标题】:Crystal Report Duplicating fields水晶报表复制字段
【发布时间】:2019-02-06 17:48:21
【问题描述】:

你好,我是 Crystal Report 中的刷新者,我面临一个问题,我有两个表,其中包含 ms 访问中的数据 1.员工 2.采购订单
有两个员工
采购订单分为 A、B 和 C 三种类型
所以我需要查看每个员工的 A、B 和 c 的计数。
让我们说
EMP POcount类型
阿比 2 A
1 B
0 C
比比 5 A
0 乙
1个C
像这样我怎么能这样做

【问题讨论】:

    标签: crystal-reports


    【解决方案1】:
        {@Count} // Place the formula the group header and hide it
        global numbervar code = 0;
    
        {@IncrementBarCount} // Place it in group body and hide it
        global numbervar code;
        if <DATABASE_COLUMN> = "A" then code := code + 1
    
        {@BarCount} // Place it where you want to see your result
        global numbervar code;
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多