Forum Discussion
I'm not sure you can do that. However, you can set the parameter value the SQL editor is bound to and achieve similar results. That could lead to other issues if you are not actively clearing the parameter since it'll always remember your selection.
- IBK2 years agoNew Contributor III
Hello,
I have a similar requirement where the Bound Parameter has to return a comma delimited list of the selected row column. The bound column has been defined in the sql table editor. I also have a Supplied Parameter to collect the selected rows and pass it to the bound parameter and then to a BR for further processing. I am not sure how to format the Delimited list. Any help would be appreciated.
- RobbSalzmann2 years agoValued Contributor II
Use [ square brackets ] around the parameter name that you want a delimited list from:
{DBExtenderName}{FuncName}{CommaDelimitedListOfValues=[|!pm_multipleValuesParam!|]}
Then inside your BR, parse the comma seperated list into an array or list, whatever suits:
Dim arrValues As String() = args.NameValuePairs.XFGetValue("CommaDelimitedListOfValues", String.Empty).Trim().Split(","c)
- IBK2 years agoNew Contributor III
Hi Robb,
Thank You very much. But one question I have is when I declare the Parameter what should I use for the Display Items and the Value Items? Right now I have it blank. But I think that is an issue.
Thank You,
Indu
Related Content
- 4 months ago
- 10 months ago