• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Jasper Report

 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello Experts
In my Organization I am making Jasper Reports using 2.0.2 successfully .From FrontEnd i am passing ToDate,Fromdate,and one more parameter.The Reports are generating dynamiccaly as desired in PDF Format.But when the Data size is increases the alignment gets worse.The title is repeating on other page,Even if no records.Here i am giving JRXML


<?xml version="1.0" encoding="UTF-8" ?>
<!-- Created with iReport - A designer for JasperReports -->
<!DOCTYPE jasperReport PUBLIC "//JasperReports//DTD Report Design//EN" "http://jasperreports.sourceforge.net/dtds/jasperreport.dtd">
<jasperReport
name="WeeklySummaryReport"
columnCount="1"
printOrder="Vertical"
orientation="Landscape"
pageWidth="842"
pageHeight="595"
columnWidth="782"
columnSpacing="0"
leftMargin="30"
rightMargin="30"
topMargin="20"
bottomMargin="20"
whenNoDataType="NoPages"
isTitleNewPage="false"
isSummaryNewPage="false">
<property name="ireport.scriptlethandling" value="0" />
<property name="ireport.encoding" value="UTF-8" />
<import value="java.util.*" />
<import value="net.sf.jasperreports.engine.*" />
<import value="net.sf.jasperreports.engine.data.*" />

<parameter name="prizeLevelName" isForPrompting="false" class="java.lang.String"/>
<parameter name="count" isForPrompting="false" class="java.lang.String"/>
<parameter name="amount" isForPrompting="false" class="java.lang.String"/>
<parameter name="totalAmount" isForPrompting="false" class="java.lang.String"/>
<parameter name="yesterdayBal" isForPrompting="false" class="java.lang.String"/>
<parameter name="todayBal" isForPrompting="false" class="java.lang.String"/>
<parameter name="change" isForPrompting="false" class="java.lang.String"/>
<parameter name="payout" isForPrompting="false" class="java.lang.String"/>
<parameter name="yesterdayBalForReserve" isForPrompting="false" class="java.lang.String"/>
<parameter name="todayBalForReserve" isForPrompting="false" class="java.lang.String"/>
<parameter name="changeForReserve" isForPrompting="false" class="java.lang.String"/>
<parameter name="yesterdayBalForHouse" isForPrompting="false" class="java.lang.String"/>
<parameter name="todayBalForHouse" isForPrompting="false" class="java.lang.String"/>
<parameter name="changeForHouse" isForPrompting="false" class="java.lang.String"/>
<parameter name="printDate" isForPrompting="false" class="java.lang.String"/>
<parameter name="fromDate" isForPrompting="false" class="java.lang.String"/>
<parameter name="toDate" isForPrompting="false" class="java.lang.String"/>
<parameter name="prizeLevelName_1" isForPrompting="false" class="java.lang.String"/>
<parameter name="count_1" isForPrompting="false" class="java.lang.String"/>
<parameter name="amount_1" isForPrompting="false" class="java.lang.String"/>
<parameter name="totalAmount_1" isForPrompting="false" class="java.lang.String"/>
<parameter name="yesterdayBal_1" isForPrompting="false" class="java.lang.String"/>
<parameter name="todayBal_1" isForPrompting="false" class="java.lang.String"/>
<parameter name="change_1" isForPrompting="false" class="java.lang.String"/>
<parameter name="payout_1" isForPrompting="false" class="java.lang.String"/>
<parameter name="yesterdayBalForReserve_1" isForPrompting="false" class="java.lang.String"/>
<parameter name="todayBalForReserve_1" isForPrompting="false" class="java.lang.String"/>
<parameter name="changeForReserve_1" isForPrompting="false" class="java.lang.String"/>
<parameter name="yesterdayBalForHouse_1" isForPrompting="false" class="java.lang.String"/>
<parameter name="todayBalForHouse_1" isForPrompting="false" class="java.lang.String"/>
<parameter name="changeForHouse_1" isForPrompting="false" class="java.lang.String"/>
<parameter name="printDate_1" isForPrompting="false" class="java.lang.String"/>
<parameter name="fromDate_1" isForPrompting="false" class="java.lang.String"/>
<parameter name="toDate_1" isForPrompting="false" class="java.lang.String"/>
<parameter name="reservepoolPercent" isForPrompting="false" class="java.lang.String"/>
<parameter name="housepoolPercent" isForPrompting="false" class="java.lang.String"/>
<parameter name="jppoolPercent" isForPrompting="false" class="java.lang.String"/>
<parameter name="gamePlayed" isForPrompting="false" class="java.lang.String"/>
<parameter name="coinsDropped" isForPrompting="false" class="java.lang.String"/>
<parameter name="casinoName" isForPrompting="false" class="java.lang.String"/>
<parameter name=" casinoName" isForPrompting="false" class="java.lang.String"/>
<parameter name="winDate" isForPrompting="false" class="java.lang.String"/>

<background>
<band height="0" isSplitAllowed="true" >
</band>
</background>
<title>
<band height="137" isSplitAllowed="true" >
<staticText>
<reportElement
x="14"
y="77"
width="74"
height="25"
key="staticText-16"/>
<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
<textElement verticalAlignment="Middle">
<font pdfFontName="Times-Roman" size="14"/>
</textElement>
<text><![CDATA[Print Date :]]></text>
</staticText>
<staticText>
<reportElement
x="88"
y="-2"
width="435"
height="42"
key="staticText-17"/>
<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
<textElement textAlignment="Left">
<font pdfFontName="Helvetica-Bold" size="18" isBold="true"/>
</textElement>
<text><![CDATA[ Casino - Paradise Jackpot SUMMARY Report]]></text>
</staticText>
<staticText>
<reportElement
x="13"
y="40"
width="129"
height="37"
key="staticText-18"/>
<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
<textElement verticalAlignment="Middle">
<font pdfFontName="Helvetica-Bold" size="18" isBold="true"/>
</textElement>
<text><![CDATA[Custom: From]]></text>
</staticText>
<staticText>
<reportElement
x="328"
y="40"
width="42"
height="32"
key="staticText-19"/>
<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
<textElement verticalAlignment="Middle">
<font pdfFontName="Helvetica-Bold" size="18" isBold="true"/>
</textElement>
<text><![CDATA[To:]]></text>
</staticText>
<textField isStretchWithOverflow="true" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" >
<reportElement
x="88"
y="77"
width="100"
height="25"
key="textField-21"
stretchType="RelativeToTallestObject"/>
<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
<textElement verticalAlignment="Middle">
<font/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$P{printDate}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" >
<reportElement
x="142"
y="40"
width="154"
height="37"
key="textField-22"/>
<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
<textElement verticalAlignment="Middle">
<font pdfFontName="Helvetica-Bold" size="18" isBold="true"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$P{fromDate}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" >
<reportElement
x="370"
y="40"
width="142"
height="32"
key="textField-23"/>
<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
<textElement verticalAlignment="Middle">
<font pdfFontName="Helvetica-Bold" size="18" isBold="true"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$P{toDate}]]></textFieldExpression>
</textField>
<staticText>
<reportElement
x="14"
y="104"
width="106"
height="25"
key="staticText-20"/>
<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
<textElement verticalAlignment="Middle">
<font pdfFontName="Times-Roman" size="14"/>
</textElement>
<text><![CDATA[Game Played:]]></text>
</staticText>
<textField isStretchWithOverflow="true" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" >
<reportElement
x="120"
y="104"
width="100"
height="25"
key="textField-24"/>
<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
<textElement verticalAlignment="Middle">
<font/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$P{gamePlayed}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" >
<reportElement
x="1"
y="-2"
width="87"
height="42"
key="textField-27"/>
<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
<textElement textAlignment="Right">
<font pdfFontName="Helvetica-Bold" size="18" isBold="true"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$P{casinoName}]]></textFieldExpression>
</textField>
</band>
</title>
<pageHeader>
<band height="4" isSplitAllowed="true" >
</band>
</pageHeader>
<columnHeader>
<band height="44" isSplitAllowed="true" >
<staticText>
<reportElement
x="150"
y="24"
width="85"
height="20"
key="staticText-5"/>
<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
<textElement verticalAlignment="Middle">
<font pdfFontName="Times-Bold" size="14" isBold="true"/>
</textElement>
<text><![CDATA[Jackpot]]></text>
</staticText>
<staticText>
<reportElement
x="433"
y="24"
width="85"
height="20"
key="staticText-6"/>
<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
<textElement verticalAlignment="Middle">
<font pdfFontName="Times-Bold" size="14" isBold="true"/>
</textElement>
<text><![CDATA[House]]></text>
</staticText>
<staticText>
<reportElement
x="291"
y="24"
width="85"
height="20"
key="staticText-7"/>
<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
<textElement verticalAlignment="Middle">
<font pdfFontName="Times-Bold" size="14" isBold="true"/>
</textElement>
<text><![CDATA[Reserve]]></text>
</staticText>
<textField isStretchWithOverflow="true" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" >
<reportElement
x="290"
y="4"
width="100"
height="20"
key="textField-18"/>
<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
<textElement textAlignment="Left" verticalAlignment="Middle">
<font pdfFontName="Helvetica" size="12" isBold="false"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$P{reservepoolPercent}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" >
<reportElement
x="432"
y="4"
width="100"
height="20"
key="textField-19"/>
<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
<textElement textAlignment="Left" verticalAlignment="Middle">
<font pdfFontName="Helvetica" size="12" isBold="false"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$P{housepoolPercent}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" >
<reportElement
x="149"
y="4"
width="100"
height="20"
key="textField-20"/>
<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
<textElement textAlignment="Left" verticalAlignment="Middle">
<font pdfFontName="Helvetica" size="12" isBold="false"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$P{jppoolPercent}]]></textFieldExpression>
</textField>
</band>
</columnHeader>
<detail>
<band height="605" isSplitAllowed="true" >
<staticText>
<reportElement
x="8"
y="3"
width="134"
height="20"
key="staticText-8"/>
<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
<textElement verticalAlignment="Bottom">
<font pdfFontName="Times-Roman" size="14"/>
</textElement>
<text><![CDATA[Yesterday Balance]]></text>
</staticText>
<staticText>
<reportElement
x="8"
y="37"
width="112"
height="20"
key="staticText-9"/>
<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
<textElement verticalAlignment="Bottom">
<font pdfFontName="Times-Roman" size="14"/>
</textElement>
<text><![CDATA[Today Balance]]></text>
</staticText>
<staticText>
<reportElement
x="8"
y="75"
width="112"
height="20"
key="staticText-10"/>
<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
<textElement verticalAlignment="Bottom">
<font pdfFontName="Times-Roman" size="14"/>
</textElement>
<text><![CDATA[Change]]></text>
</staticText>
<staticText>
<reportElement
x="8"
y="107"
width="112"
height="20"
key="staticText-11"/>
<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
<textElement verticalAlignment="Bottom">
<font pdfFontName="Times-Roman" size="14"/>
</textElement>
<text><![CDATA[Payout]]></text>
</staticText>
<staticText>
<reportElement
x="0"
y="169"
width="135"
height="34"
key="staticText-12"/>
<box topBorder="Thin" topBorderColor="#000000" leftBorder="Thin" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="Thin" bottomBorderColor="#000000"/>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font pdfFontName="Times-Roman" size="14"/>
</textElement>
<text><![CDATA[Jackpot Description]]></text>
</staticText>
<staticText>
<reportElement
x="225"
y="169"
width="115"
height="34"
key="staticText-13"/>
<box topBorder="Thin" topBorderColor="#000000" leftBorder="Thin" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="Thin" bottomBorderColor="#000000"/>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font pdfFontName="Times-Roman" size="14"/>
</textElement>
<text><![CDATA[Amount]]></text>
</staticText>
<staticText>
<reportElement
x="340"
y="169"
width="80"
height="34"
key="staticText-14"/>
<box topBorder="Thin" topBorderColor="#000000" leftBorder="Thin" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="Thin" bottomBorderColor="#000000"/>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font pdfFontName="Times-Roman" size="14"/>
</textElement>
<text><![CDATA[Count]]></text>
</staticText>
<staticText>
<reportElement
x="420"
y="169"
width="115"
height="34"
key="staticText-15"/>
<box topBorder="Thin" topBorderColor="#000000" leftBorder="Thin" leftBorderColor="#000000" rightBorder="Thin" rightBorderColor="#000000" bottomBorder="Thin" bottomBorderColor="#000000"/>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font pdfFontName="Times-Roman" size="14"/>
</textElement>
<text><![CDATA[Total Amount]]></text>
</staticText>
<textField isStretchWithOverflow="true" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" >
<reportElement
x="340"
y="203"
width="80"
height="18"
key="textField-4"
stretchType="RelativeToTallestObject"/>
<box topBorder="None" topBorderColor="#000000" leftBorder="Thin" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="Thin" bottomBorderColor="#000000"/>
<textElement textAlignment="Center">
<font/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$P{count}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" >
<reportElement
x="420"
y="203"
width="115"
height="18"
key="textField-5"
stretchType="RelativeToTallestObject"/>
<box topBorder="None" topBorderColor="#000000" leftBorder="Thin" leftBorderColor="#000000" rightBorder="Thin" rightBorderColor="#000000" bottomBorder="Thin" bottomBorderColor="#000000"/>
<textElement textAlignment="Right">
<font/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$P{totalAmount}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" >
<reportElement
x="0"
y="203"
width="135"
height="18"
key="textField-6"
stretchType="RelativeToTallestObject"/>
<box topBorder="None" topBorderColor="#000000" leftBorder="Thin" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="Thin" bottomBorderColor="#000000"/>
<textElement textAlignment="Center">
<font/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$P{prizeLevelName}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" >
<reportElement
x="225"
y="203"
width="115"
height="18"
key="textField-7"
stretchType="RelativeToTallestObject"/>
<box topBorder="None" topBorderColor="#000000" leftBorder="Thin" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="Thin" bottomBorderColor="#000000"/>
<textElement textAlignment="Right">
<font/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$P{amount}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" >
<reportElement
x="120"
y="110"
width="80"
height="20"
key="textField-8"
stretchType="RelativeToTallestObject"/>
<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="1Point" bottomBorderColor="#000000"/>
<textElement textAlignment="Left" verticalAlignment="Bottom">
<font/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$P{payout}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" >
<reportElement
x="151"
y="77"
width="80"
height="20"
key="textField-9"
stretchType="RelativeToTallestObject"/>
<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="1Point" bottomBorderColor="#000000"/>
<textElement textAlignment="Right" verticalAlignment="Bottom">
<font/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$P{change}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" >
<reportElement
x="151"
y="37"
width="80"
height="20"
key="textField-10"
stretchType="RelativeToTallestObject"/>
<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="1Point" bottomBorderColor="#000000"/>
<textElement textAlignment="Right" verticalAlignment="Bottom">
<font/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$P{todayBal}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" >
<reportElement
x="151"
y="1"
width="80"
height="20"
key="textField-11"
stretchType="RelativeToTallestObject"/>
<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="1Point" bottomBorderColor="#000000"/>
<textElement textAlignment="Right" verticalAlignment="Bottom">
<font/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$P{yesterdayBal}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" >
<reportElement
x="292"
y="1"
width="80"
height="20"
key="textField-12"
stretchType="RelativeToTallestObject"/>
<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="1Point" bottomBorderColor="#000000"/>
<textElement textAlignment="Right" verticalAlignment="Bottom">
<font/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$P{yesterdayBalForReserve}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" >
<reportElement
x="292"
y="37"
width="80"
height="20"
key="textField-13"
stretchType="RelativeToTallestObject"/>
<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="1Point" bottomBorderColor="#000000"/>
<textElement textAlignment="Right" verticalAlignment="Bottom">
<font/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$P{todayBalForReserve}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" >
<reportElement
x="292"
y="77"
width="80"
height="20"
key="textField-14"
stretchType="RelativeToTallestObject"/>
<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="1Point" bottomBorderColor="#000000"/>
<textElement textAlignment="Right" verticalAlignment="Bottom">
<font/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$P{changeForReserve}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" >
<reportElement
x="434"
y="1"
width="80"
height="20"
key="textField-15"
stretchType="RelativeToTallestObject"/>
<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="1Point" bottomBorderColor="#000000"/>
<textElement textAlignment="Right" verticalAlignment="Bottom">
<font/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$P{yesterdayBalForHouse}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" >
<reportElement
x="434"
y="37"
width="80"
height="20"
key="textField-16"
stretchType="RelativeToTallestObject"/>
<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="1Point" bottomBorderColor="#000000"/>
<textElement textAlignment="Right" verticalAlignment="Bottom">
<font/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$P{todayBalForHouse}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" >
<reportElement
x="434"
y="77"
width="80"
height="20"
key="textField-17"
stretchType="RelativeToTallestObject"/>
<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="1Point" bottomBorderColor="#000000"/>
<textElement textAlignment="Right" verticalAlignment="Bottom">
<font/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$P{changeForHouse}]]></textFieldExpression>
</textField>
<staticText>
<reportElement
x="7"
y="139"
width="112"
height="20"
key="staticText-22"/>
<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
<textElement verticalAlignment="Middle">
<font pdfFontName="Times-Roman" size="14"/>
</textElement>
<text><![CDATA[Coins Dropped]]></text>
</staticText>
<textField isStretchWithOverflow="true" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" >
<reportElement
x="120"
y="139"
width="80"
height="20"
key="textField-26"
stretchType="RelativeToTallestObject"/>
<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="1Point" bottomBorderColor="#000000"/>
<textElement verticalAlignment="Bottom">
<font/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$P{coinsDropped}]]></textFieldExpression>
</textField>
<staticText>
<reportElement
x="135"
y="169"
width="90"
height="34"
key="staticText-23"/>
<box topBorder="Thin" topBorderColor="#000000" leftBorder="Thin" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="Thin" bottomBorderColor="#000000"/>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font size="12"/>
</textElement>
<text><![CDATA[Win Date]]></text>
</staticText>
<textField isStretchWithOverflow="true" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" >
<reportElement
x="135"
y="203"
width="90"
height="18"
key="textField-28"
stretchType="RelativeToTallestObject"/>
<box topBorder="None" topBorderColor="#000000" leftBorder="Thin" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="Thin" bottomBorderColor="#000000"/>
<textElement textAlignment="Center">
<font/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$P{winDate}]]></textFieldExpression>
</textField>
</band>
</detail>
<columnFooter>
<band height="5" isSplitAllowed="true" >
</band>
</columnFooter>
<pageFooter>
<band height="3" isSplitAllowed="true" >
</band>
</pageFooter>
<lastPageFooter>
<band height="4" isSplitAllowed="true" >
</band>
</lastPageFooter>
<summary>
<band height="0" isSplitAllowed="true" >
</band>
</summary>
</jasperReport>


Please help
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
That's far too much code to expect anyone to go through it to try to figure out what's going on. Please shorten it down to a minimal test case that shows the problem, and also be sure to UseCodeTags.
 
You've gotta fight it! Don't give in! Read this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic