Dynamic report heading development
Posted on April 10, 2019 at 10:58pm
i am new to jaspersoft. i am using i report designer to design reports.
in my system there are lots of organisation registered and i have to denelop a report in header in have to show organisation name and their logo
but i am unable to use more then one query.
please sugest how to do so.
Thanks in advance.
Posted on April 11, 2019 at 1:43am
There are several possible ways.
One way is to do a join in your sql query to add column with organization name and logo file location.
Another is to use subreports (i.e. have the main report only display organization name and logo and have subreport show the actual report). Another way is to use scriptlets (see following thread).