Jump to content
We've recently updated our Privacy Statement, available here ×

ssa_sbobba

Members
  • Posts

    8
  • Joined

  • Last visited

ssa_sbobba's Achievements

Apprentice

Apprentice (3/14)

  • Week One Done
  • One Month Later
  • One Year In
  • First Post Rare
  • Conversation Starter Rare

Recent Badges

0

Reputation

  1. I have a main report with 5 subreports. i am facing the problem with heading in the sub reports. Suppose, if the sub report goes to the next page, the heading display TWO times. i have defined the heading section in the Title section of the subreport, even though it is displaying two times if the report comes to the second page. i have declared groups for each sub report.in the group headers, i have placed the subreports. Each suport is having the heading and details sections. The sub report headings are repeating if the if the report contains the data with multiple pages. How to avoid displaying headings multiple times in the sub reports. My requiremt : I want to display headings only once. Please help.. [file name=2007_11_17__14_47_42_firehose_StateCount.html size=37159]http://www.jasperforge.org/components/com_joomlaboard/uploaded/files/2007_11_17__14_47_42_firehose_StateCount.html[/file] Post edited by: ssa_sbobba, at: 2007/12/10 13:41 Post edited by: ssa_sbobba, at: 2007/12/10 15:17
  2. How to remove the empty spaces? I am able to disable the column heading and value through the printWhenExpression. I need to remove the empty spaces between the column. A C ------- X X X X X X instead of this: A......C ------- X......X X......X X......X
  3. How to dynamically stretch the columns? Example: A B C ----------- X X X X X X X X X I want to supress the display of B and should get like this A C ------- X X X X X X instead of this: A......C ------- X......X X......X X......X I have used the printWhenExpression, it is not displaying the values but it displaying the empty spaces.
  4. I am creating master-detail report with the custom datasource. In master report, I am having one subreport.in that subreport I am having another subreport. I am having the xml data like this. <?xml version="1.0" encoding="ISO-8859-1"?> <job.report job.id="2007_06_15__06_23_31_firehose"> <record record.id="1" input.file.number="0" previous.undeliverable.count="-1"> <transaction type="15" time="2007-06-15T06:23:36 /> <transaction type="7" time="2007-06-15T06:46:38" /> <transaction type="7" time="2007-06-15T06:46:39" /> <transaction type="8" time="2007-06-15T06:46:39" </record> <record record.id="2" input.file.number="0" previous.undeliverable.count="-1"> <transaction type="1" time="2007-06-15T06:23:36 /> <transaction type="6" time="2007-06-15T06:46:38" /> <transaction type="4" time="2007-06-15T06:46:39" /> <transaction type="2" time="2007-06-15T06:46:39" </record> <job.report> So I have created the one main report to display the job.report tag details and one subreport. Main Report is – JobView.jrxml Sub Report is –Record.jrxml Sub Report is – JobViewTransactions.jrxml The JobViewTransactions is subreport in the Record.jrxml file.The Record.jrxml file is subreport of Jobview.jrxml. The JobViewTransactions.jrxml file is displaying the transaction tag details of each record. Problem: I am getting all the transactions details under the first record details. Requirement is: I want to display the details in the following manner. The transaction details belonging to record id that transaction details display under that record Record Id 1 Type 15 Type 7 Type 7 Type 7 Type 8 Record 2 Type 1 Type 6 Type 4 Type 2 But Right now, I am getting in this manner Record Id 1 Type 15 Type 7 Type 7 Type 7 Type 8 Type 1 Type 6 Type 4 Type 2 Record 2 I have enclosed the java file and the jrxml files. If I am setting the custom datasources to the datasourceExpression in the jrxml file, then is it necessary to user the queryString in the jrxml file. How to pass recordid to the subreport? I want to display the transaction details under the record. Those transactions should belong to that record only [file name=subreport.zip size=8544]http://www.jasperforge.org/components/com_joomlaboard/uploaded/files/subreport.zip[/file]
  5. The subreport details in column header are displaying in all pages. I do not want to display those details in all pages. suppose the results can fit in two pages,then the sub report details will display upto two pages only, i do not want to display those details in all pages? how can i set this option? Post edited by: ssa_sbobba, at: 2007/05/23 15:05
  6. I have three sub reports, in my report i have displayed two subreports in column header and one sub report in the detail section. The subreports in the column header section are overlaping and some values are not displaying. if i have multiple subreports, one report in detail sections and reaming reports in the column section.is it correct way? Please give some advice.
  7. I tried with these options 1. I have kept both subreports in detail section 2. I have kept one report in detail and one report in summary section. But no use.. Please tell, how to display multiple sub reports. Post edited by: ssa_sbobba, at: 2007/05/23 13:36
  8. How to create multiple subreports? I tried to create multiple subreports,but it displaying the last report only? My Requirement is: i want to display all subreports details one after another. In which section i have to declare the <subreport> I have uploaded StateCount.jrxml file In that file, i have defined two sub reports(Webhitmapping and State),if i run that report it is displaying the State details only, it is not displaying first sub report details. //Java Code JasperCompileManager.compileReportToFile("statecount/StateCount.jrxml"); JasperCompileManager.compileReportToFile("statecount/WebhitMapping.jrxml"); JasperCompileManager.compileReportToFile("statecount/State.jrxml"); Map params = new HashMap(); Document document = JRXmlUtils.parse(new File("statecount/StateCount.xml")); params.put(JRXPathQueryExecuterFactory.PARAMETER_XML_DATA_DOCUMENT, document); params.put(JRXPathQueryExecuterFactory.XML_LOCALE, Locale.ENGLISH); params.put(JRParameter.REPORT_LOCALE, Locale.US); JasperFillManager.fillReportToFile("statecount/StateCount.jasper", params); JasperExportManager.exportReportToHtmlFile("statecount/StateCount.jrprint"); Please help, Thanks [file name=StateCount.jrxml size=4910]http://www.jasperforge.org/components/com_joomlaboard/uploaded/files/StateCount.jrxml[/file]
×
×
  • Create New...