Jump to content
JasperReports Library 7.0 is now available ×

Report Output


ehssame

Recommended Posts

Hello

 

This is a newbie question. Any help would be greatly appreciated.

 

I am trying to create a CSV report with the delimiter as :

Following is an excerpt from my jrxml file

 

"

<title><band height="18" isSplitAllowed="true" >

<textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" >

<reportElement x="0" y="0" width="127"

height="18" key="textField-1"/>

<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>

<textElement>

<font/>

</textElement>

<textFieldExpression class="java.lang.String"><![CDATA["Report Generated Date "]]></textFieldExpression>

</textField>

<textField isStretchWithOverflow="false" pattern="MM-dd-yyyy HH:mm:ss" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" >

<reportElement ="127" y="0" width="654" height="18"

key="textField-2"/>

<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>

<textElement>

<font/>

</textElement>

<textFieldExpression class="java.util.Date"><![CDATA[new Date()]]></textFieldExpression></textField>

</band>

</title>

"

 

 

The following results in an output like

Report Generated Date :"02-08-2007 18:49:37":::

 

the desired output I want is

Report Generated Date :02-08-2007 18:49:37

 

without the quotes and the extra :'s

 

Please let me know what am I doing wrong.

 

Thanks in advance

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...