Questions tagged [subreport]

A report that is inserted into another report, usually to provide more detailed information on repeating items.

If a contains repeating items (for example, a list of employees), a subreport may be used to include additional information for each of those items (for example, sales per employee).

This is especially useful if the additional data does not come from the same data source as the items used for the main report. Also, the subreport may be re-used across multiple main reports.

741 questions
43
votes
7 answers

How to pass main report data source to subreport (JasperReports)?

I'm using JasperReports and I fill the JRDataSource for ther report. Now, I want to pass the main REPORT_DATA_SOURCE to the subreport. How can I do this? As far as I know the REPORT_DATA_SOURCE is a consumable object, so it can only be used once,…
adis
  • 5,901
  • 7
  • 51
  • 71
34
votes
7 answers

How can we pass a parameter from main report to subreport in crystal reports XI

How can we pass a parameter from the main report to a subreport in Crystal Reports XI? I have a parameter in the main report. Now, I want to pass the same parameter to subreports. Please help me.
sivakumar
  • 1,547
  • 9
  • 21
  • 28
29
votes
3 answers

Passing parameters from main report to subreport in Jasper

I have a JasperReport where I am passing the report Date from a Main Report to a sub report. This works fine. I also have another where I am passing the same parameter to a sub report that has multiple SubReports. When I preview it in Ireports all…
user1898250
  • 291
  • 1
  • 3
  • 3
17
votes
6 answers

java.io.StreamCorruptedException: invalid stream header: EFBFBDEF

I'm developing an java web application, where I'm using maven like tool of project managmentand now I'm becaming crazy with this problem. I try to build an jasper report from my application, this report is composed from many sub-report that i have…
Skizzo
  • 2,883
  • 8
  • 52
  • 99
15
votes
2 answers

SSRS Pull Variables Or Values From Sub Report Into Main Report

I have a main report with several sub reports, each of these with slightly different queries and different ways to show the data. So, in my situation, I have a textbox that needs to compile data from a few different reports with varying criteria.…
Elias
  • 2,602
  • 5
  • 28
  • 57
11
votes
1 answer

Linking subreports in iReport so they also work in Jasper server

Using iReport v4.0.1 with Jasperserver v4.1.0 I'm trying to find a syntax for linking subreports to the main report that lets me test it in iReport then deploy to the server through the repository browser. The default syntax for sub-reports in…
benz001
  • 2,158
  • 1
  • 21
  • 23
10
votes
7 answers

Microsoft Reporting: Setting subreport parameters in code

How can I set a parameter of a sub-report? I have successfully hooked myself up to the SubreportProcessing event, I can find the correct sub-report through e.ReportPath, and I can add datasources through e.DataSources.Add. But I find no way of…
Svish
  • 152,914
  • 173
  • 462
  • 620
9
votes
6 answers

Is there a way to put subreports in headers in SSRS?

I would like to use a sub report, since it gets used on many reports, in the header. However, sub reports won't go into the header and neither will field values. Although, parameters will go just fine. Any suggestions or references for how to bypass…
Mikecancook
  • 761
  • 2
  • 13
  • 21
8
votes
3 answers

SSRS Detail members can only contain static inner members

I am developing an RDL in SSRS 2008 and am trying to move a subreport table directly into a main report so that I instead run this subreport in the same stored proc as my main report. However, I'm having trouble hooking this up. I got the stored…
salvationishere
  • 3,461
  • 29
  • 104
  • 143
8
votes
6 answers

Subreports try and keep together leaving blank spots/pages

Reporting Services 2005 My layout is like this: I have the mainreport which contains a table This table has 3 groups it runs by, GrpLevel1, GrpLevel2, GrpLevel3 Sub-Reports are added to one of 3 groups and are executed passing that group key to…
Dustin Brooks
  • 2,544
  • 3
  • 23
  • 33
8
votes
3 answers

JRException Resource not found at when there is a subreport in Jasper Report

I made a jasper report that includes a subreport using JasperSoft Studio. When i preview it in the studio, it works fine. But when i add it into my java fx project, i have to send the subreport as a parameter to the main report right? When i do that…
Dilini Peiris
  • 446
  • 1
  • 6
  • 16
7
votes
1 answer

Deploying subreports in JasperServer

I have created a frame and subreport for integration with APEX and refined to the point I am ready to deploy on JasperServer. Somehow the exact syntax is defeating me. I've tried all the variations the following questions would indicate, but…
user1073876
  • 71
  • 1
  • 3
7
votes
1 answer

How to create multiple tables in jasper report using json as a datasource?

I need to make report like this: Product Name : Product XYZ --------------------------------- | Item Name | Quantity | Price | --------------------------------- | Item ABC | 10 | 10 $ | | Item BCD | 10 | 1 $ | Product Name :…
user2571094
  • 177
  • 1
  • 3
  • 12
7
votes
4 answers

How to stop crystal report viewer from asking login credentials when opening subreport

I currently have a crystal report embedded in a visual studio website. I deploy the website and install it on an IIS, and provide a link to the user so they can access globally and see this report. This system has been working great. However, when…
7
votes
3 answers

Passing multivalue parameter to a subreport

I'm having a problem when working with multivalue parameters between reports. I have a main report in which I have defined a multivalue paramer, which I use to run a SQL query to populate its dataset. The parameter is used in the WHERE clause in the…
monican
  • 353
  • 2
  • 3
  • 9
1
2 3
49 50