Drill Through In jasper Report - dynamic

H guys ,
We are creating the report in that we have one pie chart and one table component.
When we click on the pie chart then corresponding details should appear in the table component.
Please guys can any one help me
Thanks in advance
B. Rama Krishna

To call another report (with the table) from your report you can use a hyperlink (right click on your chart and select hyperlink). You should probably use a hyperlink of type reportExecution and pass the target report path _report and any parameters. This is covered in some detail in the ireport user guide which can be found in the jasper community website or just google reportexecution hyperlink jasper e.g.
http://alexandru-ersenie.com/2009/10/22/passing-parameters-between-jasper-reports-using-ireport-and-jasperserver/

Related

Disable navigation on clicking Sub report from main Crystal Repert - VB.net

How to disable navigation to the sub-report when clicked on it? I have report with 1 sub-report that displays Company information and I need to disable it once it has been clicked by Customer.
it can be disable from crystal report viewer control.Use
CrystalReportViewer1.EnableDrillDown = False
this will work for crystal report 2008 or above.
Edits:
AS per comments by Question owner,in order to disable just navigation.there is no defined way.but it can be achieved by some other means.
"Create an empty text cell that is as wide as the report, and use it to "cover" the clickable fields to prevent drilldown.
Seriously, this is the only way we've found to do this. This is also documented on the BusObj support knowledge base (http://support.businessobjects.com/library/kbase/articles/c2013204.asp)"
for more information,Refer the link Disable Navigation

How to print each report on one page in RDLC report?

I am making a RDLC report. which has tablix , charts and all..other stuff..
I need to ask one thing that , how can I make report that each chart or tablix or rectangle comes on a Single page.
Eagerly waiting for the reply.
Thanks,
Nitin
I believe if you set the report's interactive height to 0 this will will put the entire report on one page.
Original Article

Hide a field/paramater in SSRS

Is it possible to hide a field in a SQL 2008 Report, based on the value of a parameter? I'm leaning towards a custom application and if push comes to shove I'll have do manually code each piece, but I would like to leverage SSRS as much as possible. I've included a screen shot of the report before it is populated. The area in red is what I would like to hide say, =iif(X=1,true,false)
Set up the Expression In Text box Property >> Visibility >> Show or Hide on axpression.
=iif(X=1,true,false)
Hope this help..
Look for the screen shot and more detail click here
using SSRS manager, Parameter field cannot hide programtically. but you can create asp.net webform with SSRS report. MSDN link

Crystal report clicking event

I want to get a value from crystal report on double click on any column value in crystal.and then open a sub report based on this clicked value.. I am using Visual Studio2005 crystal report.. Is this possible with this version.
Please help if having any idea about this. I have tried a lot of things. But not getting any fruitful solution.
Thanks
It is possible. You shall have to set the sub-report as an on-demand report.

Displaying multiple Reports in a single report viewer

i want to know is it possible to bind my all crystal reports to a single reportviewer, somewhat in tabbed view or treevie. If tabbed then visible through navigation button.
If yes then how?
any help would be highly appreciated.
Amit Ranjan
Having reviewed the micrososft documentation, it seems you can not bind multiple reports to a viewer. As suggested here:
"Displaying a report using the CrystalReportViewer control
The CrystalReportViewer control displays only one report at a time. Which report is displayed by the control is determined by which report you bind to your code. To tell the control which report to display, you bind the ReportSource property of the control to a particular report. At runtime, the control loads the report that is bound to the ReportSource property and displays it. "
The diocumentation goes on to say you can only bind a report type to the report source.
So, basically you need to build the multi view yourself. In my mind this can be done in two ways.
Create a report viewer for each
report (maybe using a tab control)
Create a single viewer and display
different reports based on what the user
selects in your application. i.e.
I have done something simular in the past, but rather than using the report viewer, i used crystal to export the report to pdf and displayed those to the user.
I hope this is clearer. :-)
Could you not hold your reports in a hierarchical structure in memory , which relates to a visible tree view and displayed the relevant report one at a time as the users selects various nodes..
If you can't pass a colection of reports to your viewer. I would hold a list of reports in a Dictionary or some other kind of list , which has a report and an identifier for that report.
Then display a tree view which represents the reports structure you have, with each node holding the id of the report it represents, when the user selects the a TreeView node, you can look up you report from the dictionary and load it into the report viewer.
I hope that makes sense...