emir_abushala Posted January 17, 2019 Share Posted January 17, 2019 There are so many answers on the internet regarding this implementation, yet neither is 100% accurate.So I am trying to create an optional parameter prompt, when nothing is inputted all results are displayed. When specifics are inputed, those results are supposed to be displayed.I created 2 parameters, {param} and {paramA}On my sql, I am calling for {paramA} which has default value expression -($P{param} != null && $P{param}.trim().length() > 0) ? $P{param}: "New" This method works, problem is, if you have more values than 'New', how do you implement that? Thanks,EA 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