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

kdplaskon

Members
  • Posts

    12
  • 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 kdplaskon

  1. Running 2.0.0. I have a text field in which the customer wants the label displayed in plain text and the field value in bold rendered into PDF reports. Is the combination of font types within a text field supported yet? I have been able to do this in static text, but my attempts to combine fonts in a text field generate syntax errors on the userRole field when building the report. The syntax errors do not occur when I do not try to combine font types within a single field. The textfieldexpression statement is: <style pdfFontName="Helvetica">"Composite Criterion: "</style>+ $F{reportBIC} I've also tried putting the style tags within the quoted label text. "<style pdfFontName="Helvetica">Composite Criterion: </style> "+ $F{reportBIC} In iReports, this generates an error against the newDate field. The jrxml from my latest attempt is attached. I can continue with two separate fields static text for the label, and text field for the field; however, this poses problems with exact spacing between the label and the field value. Please advise [file name=SFA_Composite_pg1_0927a.jrxml size=54035]http://www.jasperforge.org/components/com_joomlaboard/uploaded/files/SFA_Composite_pg1_0927a.jrxml[/file] Post edited by: kdplaskon, at: 2007/10/09 15:00
  2. I'm having same issue with bullet lists rendered into PDF report. Customer has provided text content that will not fit on single lines and requests bullet lists. I've applied the <li> tags to each item, whic provides a bullet list, but not with appropriate indent. Isn't there some way to insert a list-style to enforce indentation?
  3. So, no responses yet, but I did realize that I only need one condition statement to validate if value is <0. The default setting can cover everything else. That being said, the same styles that worked over the weekend and even this morning stopped working after the data source was modified. So, can someone explain why a field style that is to be applied to the generated content would suddenly stop working when the db field type has not changed?
  4. Be sure that your master report contains a report query that covers that used by your two subreports. In my case, I can use the same query for all three, but I realize that your second page may generate from a different query than your first. In that case, you may need to have consolidate the two subreport queries in the master
  5. This turned out to be an issue on the data connection side and was resolved when that was corrected.
  6. I'm a beginner as well; however, I may be able to help. Are you trying to generate multiple pages that contain different content, or is this a running report in which the second-end pages are printing rows of data from the initial query? As I understand the system, if you want multiple pages each containing different content, you will want to create a report formatted for each unique page and then combine them by creating a master report that includes each unique subreport. I have not yet had to perform a running report as my specific project is for unique pages combined into a multi-page report. Once you've generated and validated the individual reports, you can create a new blank report. I set the height of all bands except Detail to 0. Then select Edit/select element/subreport or use the subreport icon to create your subreports referencing each of the individual reports as one sub. I hope this helps.
  7. Last week, I set up two reports that comprised page 1 and page 2 of a master report. My master generated fine when I was executing it against a single, specific record in the datasource,identified by an email address. The query was changed to specify record number 1 in the data source. At that point, the subreports generate just fine as individual pages, but the master report hangs. In fact, if multiple execute attempts are made, the SQL server must be restarted and the reports never generate. I have confirmed that a) the query statement is the same in both subreports and the master, b) the dataconnection is valid, and c) the subreports location are accessible. The subreport jasper files are stored on an ftp server and I am able to access them directly via a browser URL. Any help would be appreciated
  8. Are you sure you are selecting Execute (with active connection)? First execute option I see in iReports 2.0.0 is Execute (with empty data source), which will certainly return nulls.
  9. Figured this out for the first report by applying field specific styles in the format: new Boolean ( $F{fieldname}.intValue()<0) is red new Boolean ( $F{fieldname}.intValue()=>0) is black This works perfectly for the first report in which I defined each style manually for the report. I want these styles to be available when the same field names occur in several different reports, so I transferred the cell definitions to my Styles Library by editing the XML and saving it. I then opened the second report, selected Styles Library and then used click and drag (per documentation) to apply the style to the fields. The reports generated do not display the style assigned through the library. I have verified that the fields show the style assignment, I have verified that the assigned style shows in the Report Styles drop-down, I have opened each report style, selected the formula and reapplied it. Still, the second report does not apply the colored output that works perfectly in the original report. The one field in the second report in which I know the color coding is working is the one in which I manually created the style before deciding that that was a very tedious process and it would be much more efficient to edit the XML directly. If I delete the library-assigned field from my report and manually add the style for a field and then apply it, the conditional color works. So, must I manually create the style for each field in every report? That's very inefficient. Guess my next step may be to try direct edit of the jrxml file to see if I can copy the manually defined styles to different fields without having to go through the tedious manual process for each of the 41 fields per report. Post edited by: kdplaskon, at: 2007/08/05 18:30
  10. Another newbie question. Running iReports 2.0.0, I have number fields of type double coming into a report. In some cases, the value of the field will be a negative number. In those cases, I want the report to print red. I found earlier post that defined how to set font color if flag is true, but in this case I want to set font color if field < 0. The expression editor does not appear to offer me a default method for calculating < or >. Please advise. Thanks Post edited by: kdplaskon, at: 2007/08/03 22:25 Post edited by: kdplaskon, at: 2007/08/05 18:10
  11. It did, although by the time I came back to look for a response, I'd already figured it out. I set to All Sections, No Detail on EACH of the reports. Page 1 is, not surprisingly, missing the Detail section; on page 2, I'd put that content in a group. So, will likely shift data around on page 1 for purposes of protoyping report output. Thanks loads for the pointer!
  12. I'm new to iReport; I'm using version 2.0.0. I need to develop output that is composed of two pages in PDF format. Most of the content on each page is static text or images that defines what is being measured and for whom. The data output that will come from an either SQL or CSV datasource, and will populate the specifics of who, when, and what the measurement results are for that person. At present, I'm working to construct output that executes my two page report using empty datasource. As near as I've been able to determine from the posts here, I need to use a subreport for each of the two pages and generate through a master report. I've successfully been able to generate each of the individual pages (using static text as placeholders for field data) from their jrxml files. So, here is the issue I can't resolve. When I execute the master report and select Use Default when prompted for the Subreport_Dir, no errors are generated, but an empty 2 page PDF is returned. All of the relevant files are stored in the same filesystem folder. If I put content on the master report, it does display in the executed output. Any help out there? Is there some setting that I need to set on my subreport files? Post edited by: kdplaskon, at: 2007/08/01 15:27
×
×
  • Create New...