dprogrammer Posted April 15, 2009 Share Posted April 15, 2009 I have a parameter1 that may be blank in some cases. So I have another parameter2 which wants to check if the parameter1 is blank, then it will say 'All' else parameter1. I have tried following but its not evaluating correctly.$P{parameter1}.equals("")? 'ALL':$P{parameter1}$P{parameter1}==""? 'ALL':$P{parameter1}$P{parameter1}==null? 'ALL':$P{parameter1}Any ideas please? Link to comment Share on other sites More sharing options...
dprogrammer Posted April 15, 2009 Author Share Posted April 15, 2009 nevermind, I found function IsEmpty() which works fine in my case. Thanks 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