Display subreports in Pentaho report designer - pentaho

I am having an issue getting my sub-report to show up in Pentaho Report Designer.
I have actually followed all steps described in a tutorial, but I still can't see my chart in the preview.
I don't know if I need to activate an option or not.

Check that you have you imported your fields (and perhaps parameters) from the main report into the subs. Often this would be the case a sub-report fails to show.

Related

Advanced SSRS report functionality in a Microsoft.WinForms.ReportViewer

Viewing SSRS reports in a Microsoft.WinForms.ReportViewer. Is there a way to get advanced SSRS funtionality (e.g. flyouts / hyperlinks) to work in the report viewer? [The above functions DO work in a Forms.WebBrowser control.]
The two functionalities that I want to implement are as follows:
Report has ACTIONS that cause alternate reports to be run.
SSRS report properties of text box in the tablix
Report behaviour when using older viewer
Report has flyout functionality.
Group properties from the tablix
Report behaviour when using older viewer
The intent of the new viewer is to get some menu functionality into our report viewer that our users are requesting.
Report viewer with e-mail functionality added to forward report(s) to clients
The fundamental problems would appear to be because the ReportViewer control (that is being used in the new previewer) is only allowing a fully rendered document. Is there a way to make it retain the SSRS functionality?

VB.Net: Crystal Report shows different results when run

I created crystal report in VB.Net... When I clicked report preview, it shows correct result...
When I run the program, at first click of print, it will shows different result, I have to click other reports then go back to the one i want to print to see the correct output...
In the crystal report i have 3 groups and a subreport in the last group...
What do you think is the problem? Please help! God bless :D
is "Save Data With Report" in report designer checked?
[the flag is visible when you see report preview in designer]
This flag causes unexpected behaviours (and many headaches to me).

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

How to split a Crystal Reports subreport across a page break?

I'm using Visual Studio 2005 and writing in VB.NET.
I have a subreport in a Crystal Reports report consisting of a list of log entries. Sometimes the list of log entries is long enough that it would extend onto the next page. What I see happening is that the list appears on the next page, leaving a big blank space at the bottom of the first page.
I've tried unchecking the "Keep Together" boxes in the "Experts" in a number of different places (sections, groups, etc.) but see no change in the output.
I'm guessing that this isn't the right way to go, but do you know what is?
(I'll be glad to provide more information if I haven't given enough.)
Thanks as always!
remove the subreport's 'keep object together' option.