In an XML data adapter report, when you call a sub report of same data adapter in master report, one can use below expression to establish connection.
((net.sf.jasperreports.engine.data.JRXmlDataSource)
$P{REPORT_DATA_SOURCE}).subDataSource("/tags/employee")
No comments:
Post a Comment