Jump to content

miker.carrollwnco.com

Members
  • Posts

    9
  • Joined

  • Last visited

miker.carrollwnco.com's Achievements

Rookie

Rookie (2/14)

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

Recent Badges

0

Reputation

  1. Hi guys, It's been a while since writing you last. It's been my pleasure to use your fine product. I've run into an issue. After reviewing existing posts, artf1399 is a very similar problem. I have a report that is based in a Frame (textfields all contained within a Frame). There are six possible rows depending on the content of the data. In no case will all six rows have valid data. The majority of the time 2, or 3 of these rows will have nothing to print. Each row has multiple fields which are logically related to other fields on the same row. The problem is empty lines and the space not being used by non-empty lines that follow. My understanding is to use the following settings Postion Type-> Float (Set for all 2nd+ row elements) Blank When Null-> true (Set for all elements on these lines) PrintWhenExpression-> new Boolean($F{tripNumber} != null && $F{tripNumber}.trim().length() > 0) In all cases where there is a key relationship in the data. (ie. tripNumber must have a value to print the remaining elements on the line), a PrintWhenExpression statement is used. Can you offer any assistance? [file name=MulipleBlankLines.doc size=158720]
  2. Thank you very much for the timely response. It worked great. One additional question. In sub-reports the subReportExpression tag has difficulty finding .jrxml files even if the directory path is correct. Is it always necessary to use .jasper in this expression, or do main reports automatically compile sub-reports contained within?
  3. I am running into a problem with subreports. I have one main report and four subreports. The source xml for the main report is attached. The problem is the output from the first subreport shows up on the top of each subsequent page if pagination is not set to false [file name=ReportProblem.txt size=9670]http://www.jasperforge.org/components/com_joomlaboard/uploaded/files/ReportProblem.txt[/file]
  4. Thank you so much for the timely response and information. Regards, Mike Carroll
  5. I have discovered the problem. This project extended made alot of enhancements to JRViewer. Is the source code to JRViewer.java available for 3.3?
  6. Thank you for your response. I have tried this in both 3.2 and 3.3. It does not seem to be working in either version. I have not tried 3.1.
  7. The jasper jar jasperreports_1.3.0.jar The problem manifests itself in the JasperViewer. I am using conditional alternate row shading, implemented by using the following frame. <frame> <reportElement style="RowShader" stretchType="RelativeToBandHeight" mode="Opaque" x="2" y="-1" width="324" height="15"/> <box padding="0" topBorder="1Point" topBorderColor="#C0C0C0" leftBorder="None" leftBorderColor="#FFFFFF" bottomBorder="1Point" bottomBorderColor="#C0C0C0" rightBorder="None" rightBorderColor="#FFFFFF"/> <textField hyperlinkType="Reference" hyperlinkTarget="Blank"> <reportElement x="4" y="2" width="45" height="12" forecolor="#0000FF"/> <textElement textAlignment="Right"> <font fontName="Courier New" isUnderline="true" pdfFontName="Courier"/> </textElement> <textFieldExpression class="java.lang.Integer"><![CDATA[$F{fltNumber}]]></textFieldExpression> <hyperlinkReferenceExpression><![CDATA["FLIGHT:" + $F{fltNumber}]]></hyperlinkReferenceExpression> </textField> Without the Frame this link works fine. It is located in the detail band.
  8. I'm running into an issue when I place Hyperlink enabled fields into a Frame... they do not work. Without the Frame its fine. Any suggestions?
×
×
  • Create New...