如何在 Birt Report 中使用给定参数循环查询

How to loop query with given parameters in Birt Report

我已经用 birt 做了一个报告。 包含查询的报表数据集包含许多使用 Startdate 参数的 where 条件。 我做了两个参数StartdateEnddate。我想将该参数从 Startdate 参数循环到 Enddate 参数。

我想 运行 每次查询都使用不同的参数,从 Startdate 到 enddate

这可以通过数据集的 beforeOpen 脚本完成。