subreport

Use Explicit Worksheet Names when an SSRS 08 RDL Renders in Excel

主宰稳场 提交于 2019-12-25 01:59:52
问题 My SQL Reporting Service 2008 .rdl file contains a subreport within a rectangle with a forced page-break before it. When it renders in Excel it defines a page break as a worksheet break so it creates the subreport content in a separate worksheet of the Excel Workbook .xls file. How can I name each worksheet? I do not want them to be Sheet1 and Sheet2. 回答1: You can set the "PageName" property on an object e.g. a rectangle http://blogs.msdn.com/b/robertbruckner/archive/2010/05/16/report-design

Subreport in RDLC file

眉间皱痕 提交于 2019-12-24 08:39:25
问题 I have one problem in generating Reports in VS2010. I am using RDLC. My task is to generate a report where it should show customer details like Name, Contact number, Email Id etc in the top portion of the report. In the body section it should show the list reservation details. My object structure is as follows: CustomerDetails: Name Age ContactNumber Email Id List<ReservationDetails> ReservationDetails FromDate ToDate Period Amount I do not know how to render the List in subreport. It is not

Dynamic subreport in SSRS 2008

我怕爱的太早我们不能终老 提交于 2019-12-24 08:25:10
问题 I would like to set up a dashboard report in SSRS that contains a bunch of sub reports, but have the reports that are displayed be configurable at run time. I.E. there could be 4 parameters which represent the names of 4 reports. The report contains 4 reports, and the name of each sub report should be taken from one of the parameters. It looks like I can't do this, as the 'Use this report as a subreport' property is a dropdown and doesn't provide a way of configuring it as an expression. Am I

Blank subreport in Jasper Reports

安稳与你 提交于 2019-12-24 04:23:17
问题 I'm trying to launch a report that I created in iReport which contains a main report and a subreport. In iReport, the subreport launches fine and contains data, however when I try to launch it from within my java code, the subreport is blank. What I've done so far: I have a String parameter in the main report called "SUBREPORT" that is used to define the path to the subreport. E.g. value: "E:\java\ReportLauncher\reports\test_subreport1.jasper" The subreport expression in the main report is

Java Crystal Report SDK - Report & SubReport

泪湿孤枕 提交于 2019-12-24 00:25:08
问题 I'm trying to generate a report using Crystal Report SDK in Java composed by a main report and a subreport. I do want to generate the report only if there is something returns by my stored procedure and for doing that I execute the proc manually and launch the report generation only if my ResultSet != null. But, my subreport has to be generated through Crystal. I use the setTablesDatasource() method for my main report for using my ResultSet For my subreport: _ I use the setTableslocation()

Jasper Reports: Page Number inside subreport does not work

穿精又带淫゛_ 提交于 2019-12-23 01:37:13
问题 I have several similar reports in my application, for this reason I have created a basic structure with a subreport inside the Title and another one inside the Page Footer. The problem is that I have 70 similar reports and if one day I need to change the footer structure I don´t wanna have to change 70 reports I prefer change only one. In the footer subreport I have this: <?xml version="1.0" encoding="UTF-8"?> <jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi=

JasperReports: Hide frame B within frame A, if one the fields inside frame B is null or is empty

和自甴很熟 提交于 2019-12-22 09:57:42
问题 I am having a problem in jasper reports regarding designing a document template. It's like a resume. I have this document: Title [static text] Age [static text] | [some field A] Gender [static text] | [some field B] Location [static text] | [some field C] The current structure of my jasper reports is this: I have this frame A, which has a vertical layout. Every row in the template (age, gender, location) corresponds to the frame I've created frames 1, 2 and 3. Say, frame 1 has horizontal

use expression to dynamically decide which subreport to open

蹲街弑〆低调 提交于 2019-12-22 08:38:35
问题 I have a report that contains several pages with graphs, tables and so on. This report is used by different customers who always want small modifications to the report. At the moment if a customer wants a change on page 5 the whole report is recreated with the modifications, even though the only change is in the graph on page 5. More so, some customers don't want to see page 3, others want a custom table at page 6. My boss would like the report to be modular so he can simply switch parts on

How to view multipe reports in 1 crystal reports viewer?

点点圈 提交于 2019-12-22 01:23:35
问题 How can I open 2 seperate reports in 1 crystal reports viewer at a single time? And when previewing the report, I see that my subreport doesn't filled its parent control width, how to Subreport width fill its parent width? I use crystal reports for visual studio 2010. 回答1: As far as I know you can't have multiple reports show in the same viewer as the report gets bound to the viewer. Now there are some ways of getting around that and making it look like you have multiple reports showing in

java.io.StreamCorruptedException: invalid stream header: EFBFBDEF

五迷三道 提交于 2019-12-20 18:17:35
问题 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 in the src/main/resources. I try to load these subreports in the following way: //Sub Report 1 InputStream fileSubRep1=(BufferedInputStream) getClass().getResourceAsStream("/fileSubReport1.jasper"); map.put("fileSubRep1",(JasperReport) JRLoader