有没有办法在碧玉中调用多个数据?
is there any way to call multiple datas in jasper?
我想问一下如何在上一个数据下方显示数据,因为当我尝试显示数据时,我在下一页显示的下一个数据,我想要的是显示以下项目来自上一个项目。
例如table,数据是
table 姓名:税务
Tax code tax name tax amount
1 regresive tax 2000.00
2 capital gain tax 3000.00
3 property tax 5000.00
查询是
select tax.name,tax.amount
from table tax
输出为:
page 1
regresive tax 2000.00
page 2
capital gain tax 3000.00
page 3
property tax 5000.00
我想要的输出是:
page 1
regresive tax 2000.00
capital gain tax 3000.00
property tax 5000.00
如果您使用文本字段来显示数据,请确保将它们放在详细信息区域中。
还要确保文本字段下方没有太多空白 - 因此,例如,如果文本字段的高度为 30 像素,则详细信息带的高度也应该差不多(如果有那里没有其他元素)。
我想问一下如何在上一个数据下方显示数据,因为当我尝试显示数据时,我在下一页显示的下一个数据,我想要的是显示以下项目来自上一个项目。
例如table,数据是
table 姓名:税务
Tax code tax name tax amount
1 regresive tax 2000.00
2 capital gain tax 3000.00
3 property tax 5000.00
查询是
select tax.name,tax.amount
from table tax
输出为:
page 1
regresive tax 2000.00
page 2
capital gain tax 3000.00
page 3
property tax 5000.00
我想要的输出是:
page 1
regresive tax 2000.00
capital gain tax 3000.00
property tax 5000.00
如果您使用文本字段来显示数据,请确保将它们放在详细信息区域中。
还要确保文本字段下方没有太多空白 - 因此,例如,如果文本字段的高度为 30 像素,则详细信息带的高度也应该差不多(如果有那里没有其他元素)。