【问题标题】:Crystal reports foreach loop in the formula field水晶报表公式字段中的foreach循环
【发布时间】:2012-07-17 13:44:16
【问题描述】:

请帮助我获取水晶报表公式字段中每个类别的配置文件 ID 计数。

我需要显示 Like : 2 人注册了电气类别

这是我的 Sql 查询结果在报告中。

ProID    CATID      Description
1            2           Inspection
1            4           Fabric Maintenance
1            6           Electrical
1           10           General Qualifications
3            6           Electrical
3           10           General Qualifications
4            1           QA /QC Vendor Inspection
6            1           QA /QC Vendor Inspection
11           1           QA /QC Vendor Inspection
12           1           QA /QC Vendor Inspection
12           2           Inspection
12           3           Coatings Inspection
12          10           General Qualifications

提前致谢

【问题讨论】:

  • 你在水晶报表的描述中使用过group by吗

标签: crystal-reports-2008


【解决方案1】:

【讨论】:

  • 感谢您的回复。我试图在公式中做一些愚蠢的事情。现在,我在 Group 部分中为每个类别使用 profileIds 计数,并且还插入了一个条形图。感谢您节省了我的时间。
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2014-05-11
  • 2015-08-18
相关资源
最近更新 更多