使用ireport创建报表模板时,向subdataset中传参
来源:互联网 发布:js array 清空 编辑:程序博客网 时间:2024/06/03 16:59
在使用ireport设计jasperreport时,若添加table,则需要创建subdataset。那么,如何向subdataset中传参数呢?
1、在SubDataset中添加Parameter
2、在添加的table组件上右击,选择Edit table datasource
3、在弹出的Dataset Run窗口中,选择Parameter选项卡,点击Add按钮。
4、在上面的下拉框中选择刚刚添加到subdataset中的Parameter,在下面的窗口中选择对应的外部数据集Parameter或Variables
5、最终如下图所示,则可将外部的名称为REPORT_YEAR的Parameter传给subdataset的REPORT_YEAR
0 0
- 使用ireport创建报表模板时,向subdataset中传参
- iReport-JasperReport报表开发:使用JRDataSource填充含有SubDataset的报表
- 使用iReport制作报表模板
- 使用iReport制作报表模板
- 使用iReport制作报表模板
- 使用ireport设计jasperreport报表模板
- 使用ireport生成jasperreport报表模板
- 使用iReport打印报表
- ireport自定义动态创建报表
- ireport向子报表传递参数详解
- Ireport+Jasperreport实现报表使用
- 【报表开发】iReport使用心得
- 【报表开发】iReport使用心得
- Java 使用 iReport 导出报表
- 使用ireport+jasperReport报表生成
- iReport .JRXML报表模板的元素定义
- iReport .JRXML报表模板的元素
- iReport .JRXML报表模板的元素
- poj3672
- poj3438
- poj2246
- poj3518
- scut1100
- 使用ireport创建报表模板时,向subdataset中传参
- scut1015
- scut1106
- Country Codes
- scut1020
- ActionBar的用途及合理运用
- scut1024
- scut1107
- scut1040