mateen83 Posted October 26, 2009 Share Posted October 26, 2009 Hello All,I have 2 parameters FromDate and ToDate. I want to contact the values of both parameters into a variable and add a / or to between them . How can i do this. Kind Regards Link to comment Share on other sites More sharing options...
mateen83 Posted October 26, 2009 Author Share Posted October 26, 2009 I have created a variable called reportHeader. Varialbe class is java.lang.String. In the variable expression i have $P{FromDate}.concat(" To " + $P{ToDate}) . But this just prints null. Whats can i do to achive the desired result. Link to comment Share on other sites More sharing options...
rghanta Posted October 26, 2009 Share Posted October 26, 2009 Try using $P{FromDate} + " To " + $P{ToDate} in the Variable Expression. -*-*Ram-*-*- Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now