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

how to concatenate parameters


santosh.audi19

Recommended Posts

Here I am using below expression for a paramter name P1 which fetches data from cal, param_date parameters

 

(

    $P{cal}.set($P{param_date}.getYear()+1900, $P{param_date}.getMonth(), $P{param_date}.getDate())

||

    $P{cal}.add(Calendar.MONTH, -1)

)

? null : $P{cal}.getTime()

 

when i run the report it is showing error at `||` 

 could you please help me out .How do I concatenate parameters?

 

Thanks All.

 

Link to comment
Share on other sites

  • Replies 2
  • 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...