Jump to content
Changes to the Jaspersoft community edition download ×

Multiple Column Headers


jugsvn

Recommended Posts

Hi All,

 

I would like to create a jrxml using iReports where I have to show the contents like below.

 

Agent Details

 

Agent name: xxxx

Address: yyyy

Email: zzzz

 

Credit Limit

 

Limit: xxxx

Date Authorized: yyyy

 

Credit Limit History

 

Limit | Authorized By | Date Authorized

 

xxxx | yyyyy | zzzzz

aaaa | bbbbb | ccccc

 

Commission

 

Amount | Calculation | Rate

 

xxxx | PERCENTAGE | yyy

yyyy | FLAT | xxx

 

Service Charge

 

Amount | Charge

 

xxxx | yyy

yyyy | xxx

 

Here the problem is I need to show 3 tables of data separately and I can have only one detail band. I tried putting this all in the detail band I got everything repeated for the total number of records for all the 3 tables.

 

Can I use groups or sub-reports here?

 

I am a newbie and any help will be greatly appreciated.

 

Thanks

Jugs

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Hi,

Use subreports which will be very useful and ideal in your case.There are huge number of functions using the subreports and you can design it very easily and without any fuss.

 

Report 1(Main Report)

Agent Details

Agent name: xxxx

Address: yyyy

Email: zzzz

 

Credit Limit

Limit: xxxx

Date Authorized: yyyy

 

Include the three subreports in the detail band of the Main Report.

 

Subreport 1

Credit Limit History

Limit | Authorized By | Date Authorized

xxxx | yyyyy | zzzzz

aaaa | bbbbb | ccccc

 

Subreport 2

Commission

Amount | Calculation | Rate

xxxx | PERCENTAGE | yyy

yyyy | FLAT | xxx

 

Subreport 3

Service Charge

Amount | Charge

xxxx | yyy

yyyy | xxx

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...