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

RoseRoo

Members
  • Posts

    13
  • Joined

  • Last visited

 Content Type 

Profiles

Forum

Events

Featured Visualizations

Knowledge Base

Documentation (PDF Downloads)

Blog

Documentation (Test Area)

Documentation

Dr. Jaspersoft Webinar Series

Downloads

Everything posted by RoseRoo

  1. Hello teodord: I have solve the Infinite looping by re-layout a new report...~_~" My partner has find out if a band large then some value, the report will crashed We are not sure the certainty value yet. . . By the way, where I will find the "tolerance level setting "? Will it take some effect? Thanks for your reply & suggestion:cheer: -- We are coming from TAIWAN
  2. Example of main report bean Code: private String ID; private String name; private JRDataSource subDS_1; private JRDataSource subDS_2; Example of sub report 1 bean Code:[code] private String ID; private String work; ... ... Example of sub report 2 bean Code:[code] private String ID; private String workDetail; ... ... OK, for example: We got 1 record for main report, 5 records for sub report_1, 3 records for sub report_2... If we put sub report bean 2 under sub report bean 1, than we will have 5 x 3 = 15 sub report 2 beans in memory, it's terrible... So, we can put all sub report bean under main report bean. The following code are expressions for design time in iReport: Include sub report 1 from main report DataSoure: Code:[code]$F{subDS1}Parameter Code:[code] $P{subReport_DIR} (String) $F{subDS2} (JRDataSource) Include sub report 2 from sub report 1 DataSource: Code:[code] $P{subDS2} Than we can pass DataSource from main report to last sub report via report parameter. Hope it helps~ -- We are coming from TAIWAN...~_~ Post edited by: RoseRoo, at: 2006/11/02 07:16
  3. It's not possible to using more than 1 query in a report. But you may try: Use ResultSet as data source Use JavaBean as data source...(better)[/ul]
  4. I also found it~ Thanks for your help & sorry for my stupid question;)
  5. It's possible~ You can pass your data source via report parameter. Just remember to set parameter type to JRDataSource not JREmptyDataSource -- We are coming from TAIWAN ~_~
  6. Example of master report bean: Code: private String name; private String ID; private JRDataSource workListDS; Example of sub report bean: Code:[code] private String ID; private String workName; STEP_1: Use an ArrayList to hold all sub report bean(s) Code:[code] arrayList.add(subBean1); arrayList.add(subBean2); ... STEP_2: Put list into data source, and set on master bean Code:[code] JRDataSource jrds=new JRBeanCollectionDataSource(arrayList); masterBean.setWorkListDS(jrds); STEP_3: Use DataSource Expression for SubReport in iReport Code:[code] $F{workListDS} Hope it helps~:) -- We are coming from TAIWAN ~_~
  7. Print summary on a new page!? Where I can find the attribute set? I am using iReport 1.2.7 May you show me how to print summary on a new page? Thank you~:)
  8. Hello: Did Matt post his solution already? I have 2 report falling into infinite loop... Or where I can find tolerance level setting on iReport? The deadline are nearing!!!:pinch:
  9. I know that iReport has an attribute set named [blank when null] in field... I got an issue like that: My customers ask me for a field show address & telephone number, it must display closer... Because the length of address was un-expect-able, so I have to put address & phoneNo both on songle field. Expression like that: Code:F${address}+" - "+$F{telNo}But some time the phone number may haven't value (null) This field may show result like that: Code:[code]xxx St, yyy City - null Is there any way to set a field (not a field object) in bl,ank when it has null value? Post edited by: RoseRoo, at: 2006/10/20 03:27
  10. I am not sure it was a correct solution or not, but it works w/i me. Ex> Step_1 Your bean package & classname: idv.prancius.bean.ReportBean Step_2 Create a folder named "classes" at iReport home path Such as C:iReportclasses Step_3 Create full path for your bean at classes Like C:iReportclassesidvpranciusbeanReportBean Step_4 Put your bean class file here (Step_3) Step_5 In iReport, JavaBean DataSource, type full package & classname of your bean at text field of "Class name" Step_6 Click [Read attributes] button~ ........... Hope it helps you~ -- We are coming from TAIWAN ^^" ^_^ ~_~ -_-
  11. Hello everyone~ I got 2 java beans in classpath of iReport. In iReport, [Database]-[JavaBean DataSource] set bean full package & class name, click [Read attributes], it should read bean attribute automatically right? I got 2 beans, bean#A's attributes in one bean can be read correctly by iReport, but bean#B can't. Click [Read attributes] but nothing happen, no error message, no response, just like the click event was ravened. What's going on? I can read & use bean#B yesterday......
  12. Ddi you want to view a report via WEB AP or start iReport from web browser? What's your point?
  13. Hi~ I am creating a PDF report via iReport and got 2 records to display in detail band. My customer ask me for page break between PageHeader & ColumnHeader. Because I didn't know how to contain column header into group, (Is it possible?) so I have move some field(s) to group header, and set Start on a new page to true. But the result PDF just like this: Code: --------------------- | Title | --------------------- | PageHeader | --------------------- | GroupHeader | --------------------- | Detail (Record_1) | --------------------- *** Page break *** --------------------- | GroupHeader | --------------------- | Detail (Record_2) | --------------------- ... .. . Why page doesn't break on 1st group header and group header showed 2 times? Did I set something wrong? Please tols any tips or suggestions, Thank you~ m_._m Post edited by: RoseRoo, at: 2006/08/29 08:32 Post edited by: RoseRoo, at: 2006/08/29 08:44
×
×
  • Create New...