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

Using Parameter in Expression FIeld


zgadson

Recommended Posts

Hello. Have a question that I'm sure someone can answer easily.

I have a report with a date column in the text field:

new SimpleDateFormat("dd-MM-yyyy").format($F{Load.DateTime_PlannedStart})[/code]

And I have start/end parameters set to prompt upon report creation: $P{start_date} and $P{end_date}, both with java.sql.timestamp formatting to match the date field.

Is there a way to connect the parameters to my date field using the expression fields? (I don't have acess to metadata, so building sql code never seems to work for me, in addition to not knowing where to put it in the source of the report in the first place.)

 

Any help would be very much appreciated. Thank you!

 

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Popular Days

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