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

How can i capture the system date in my report in jasper report server?


girija.pinku.pp

Recommended Posts

I want to have column as system date in my domain and want to use that column in my reporting so that i can see the current date every time  a report runs.

How can i make that possible in jasper report server??

Is there any way i can crete that column in domain or can i have that in my report directly in jasper report server

Please help me by providing necessary answers to this question

Link to comment
Share on other sites

  • Replies 4
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Hi,

Just to point out that latest JR Library releases introduce support for functions. If you put in the classpath, the JR produced by the /demo/samples/functions sample in the JR project distro, you could use an expression such as:

<textFieldExpression>TODAY()</textFieldExpression>

More details about built-in functions and the way you could create your own custom functions for JR, can be found here:http://jasperreports.sourceforge.net/sample.reference/functions/index.html#functions

 

I hope this helps.
Teodor

Link to comment
Share on other sites

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...