Jump to content
Changes to the Jaspersoft community edition download ×

Drill down reports in Jasper Reports


2005 IR Help

Recommended Posts

By: kar_n_kar - kar_n_kar

Drill down reports in Jasper Reports

2004-11-08 04:38

I have a requirement in my project to implement drill down reports. Can anyone tell me how to implement drill down reports with Jasper Reports.

 

For example, in my first report i may have order information. As i click on an order id, I should get to a report which gives order item information.

 

Anyone who has experience can throw some light and examples.

 

Cheers.

 

 

 

 

By: Balu - bala-os

RE: Drill down reports in Jasper Reports

2004-11-08 21:51

Yes, It can be done.

 

For your understanding I am attaching a hyperlink tag which meets your requirement.

 

<textFieldExpression class="java.lang.String"><![CDATA[$F{PURCHASEORDERNO}]]></textFieldExpression>

<hyperlinkReferenceExpression><![CDATA["http://localhost:6080/Reports/TEST.jsp?testVar="+$F{PURCHASEORDERNO}]]></hyperlinkReferenceExpression>

 

In the above text filed you can find hyperlink which enables me to go to next report.

 

Regards

Bala

 

 

 

 

By: kar_n_kar - kar_n_kar

RE: Drill down reports in Jasper Reports

2004-11-09 22:39

That comes near to what i want.

 

But I don't have any jsp's. I am using only java to load and run the jrxml. I use a hyperlink in the first report to go to the next report. In this case i am using RemotePage link.

 

But i should be able to pass the purchaseorderno from the first report to the query in the second report, to get conditional content in the second report.

 

Where can i specify this parameter in the hyperlink.

 

Thanks

Kar

 

 

 

 

By: Balu - bala-os

RE: Drill down reports in Jasper Reports

2004-11-09 23:29

thats fine!

 

you need to do some thing like passing values from main report to subreports

 

Even i will Investigate on this

 

Regards

Bala

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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...