iReports,子数据集中的组
任何人都可以帮助我在 iReports 4.5 中对子数据集查询进行分组。
我想使用这些元素:
http://jasperforge.org/ uploads/publish/jasperreportswebsite/trunk/schema.reference.html#group
就像我在主报告查询(报告组)中创建的普通报告组一样。
我在
中输入 groupHeader
和 groupFooter
部分,但出现错误
我还想使用 isStartNewPage
等属性
Could anyone can help me with grouping subdataset query in iReports 4.5.
I wan to use these elements:
http://jasperforge.org/uploads/publish/jasperreportswebsite/trunk/schema.reference.html#group
like in normal report group I create in main report query (report group).
I type groupHeader
and groupFooter
section in <group>
but errors apears
I want to use also atributes like isStartNewPage
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
不幸的是,子数据集中的组仅对计算变量(例如图表小计)真正有用。
您可能正在寻找的是子报表。
你可以让它无缝地融入。使其全宽,如果使用 iReport,则删除所有不必要的带区。
$P{REPORT_PARAMETERS_MAP}
会将相同的参数传递给子报表。Unfortunately groups in subdatasets are only really useful for calculating variables such as subtotals for charts.
What you are probably looking for a is a subreport.
You can make it fit in seamlessly. Make it full width and if using iReport delete all the unnecessary bands.
$P{REPORT_PARAMETERS_MAP}
will pass the same parameters to the subreport.