I Need to get symbol column from symbols table using symbol id, while i select the input parameter like symbol_name, There are 2 files used for single report. In Main.jrxml using join query to acheive it. but its getting null value. Is there any possible solution for this issue?
MainQuery:
Select * from sales_depart LEFT JOIN symbols on symbols.symbol_id = sales_depart.symbol_id
<field name="symbol" class="java.lang.String">
<fieldDescription><![CDATA[]]></fieldDescription>
</field>
<textField>
<textFieldExpression><![CDATA[$F{store_name}+ ":"+ $F{currency}]]></textFieldExpression>
</textField>
I Need to get symbol column from symbols table using symbol id, while i select the input parameter like symbol_name, There are 2 files used for single report. In Main.jrxml using join query to acheive it. but its getting null value. Is there any possible solution for this issue?
MainQuery:
Select * from sales_depart LEFT JOIN symbols on symbols.symbol_id = sales_depart.symbol_id
<field name="symbol" class="java.lang.String">
<fieldDescription><![CDATA[]]></fieldDescription>
</field>
<textField>
<textFieldExpression><![CDATA[$F{store_name}+ ":"+ $F{currency}]]></textFieldExpression>
</textField>
1 Answer
Reset to default 0try not to left join and run query and see it it works. perhaps your join is wrong
发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745097996a4611098.html
评论列表(0条)