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

Allowing only one parameter to fill by user out of 2 param


chaitanya.koli

Recommended Posts

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Hi hozawa, 

How can I acheive cascading input control in jasper server.

I already created 3 parameters for 2 input where I adding first 2 parameters in 3rd param.

For eg: In AWB_NO_PARAM I added 2 param within it ORDER_NO and AWB_NO :

($P{AWB_NO}==""?
($P{ORDER_NO}==""?"AND ORDER_NO IN('1')":"AND ORDER_NO IN('"+$P{ORDER_NO}.replaceAll(",","','").replaceAll(" ","")+"')")
:" AND AWB_NO IN('"+$P{AWB_NO}.replaceAll(",","','").replaceAll(" ","")+"')")

But how I can force user to enter details in only one parameter in jasper server? where I am showing him both parameter "AWB NO" and "ORDER NO"

Link to comment
Share on other sites

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