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

multiselect input control + stored procedure


phodges

Recommended Posts

Most of our query text consists of stored-procedure calls, not selects and joins, etc. This mean that I do not need the $X{IN, expr, parameter} syntax as currently output by the multiselect control. What I need is a comma separated list of the selections from the control.

What is the best way to accomplish this?

--Paul

Link to comment
Share on other sites

  • 9 months later...
  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Hi,

If you have a PARAMETER1 as Collection, you can create a second parameter (not promptable) PARAMETER2 as STRING with  expression $P{PARAMETER1}

At this point you get a String and you can use java string methods like replace() to get away the brackets

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