【问题标题】:Change Query Text in Birt RPTDesign在 Birt RPTDesign 中更改查询文本
【发布时间】:2018-08-14 09:38:42
【问题描述】:

我想根据传递给报告的参数 (showCountryId) 更改报告中的查询文本之一。这是我想做的,

如果 showCountryId === false,

从项目组 items.type 中选择 count(item) as cnt;

其他

Select country.id, count(item) as cnt from items join country group by country.id, items.type;

有人知道在我的 Birt rptDesign 文件中可以做到这一点的方法吗?

提前致谢。

【问题讨论】:

    标签: database eclipse birt


    【解决方案1】:

    您可以在数据集的 beforeOpen 事件中更改查询文本,但不能更改输出列数。

    【讨论】:

      猜你喜欢
      • 2014-03-19
      • 2012-06-17
      • 1970-01-01
      • 2016-05-06
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2013-05-19
      • 1970-01-01
      相关资源
      最近更新 更多