Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Pass a Multi-Value Parameter to Stored Procedure

Status
Not open for further replies.

mynameant

Programmer
Oct 19, 2005
64
US
Hi all, I am using CRXI and have a report based on an Oracle based Stored procedure. I need to make the parameter on this report as multi- value parameter which I cannot directly. So, I am doing something like this using a sub-report.

Main Report:
===============
Empty report with a parameter TYPES. Made this parameter as multi value paramter and added few values. So user has option to select more than one value.
Sub Report:
============
Now, I have created a sub report based on the stored procedure with one parameter p_types [Character data type].

If I Link main report and Sub report directly on this parameter value, I am not getting any values passed to sub-report. so, I tried to create a formula to make all the values in this parmeter from main report as a comma seperated string nad trying to link sub-report based on this formula. But I am not able to get it work.
I am using something like this in my formula:
join({?TYPES},",")

and it shows all the values in the formula as expected. but when I link this to sub -report it doesn't work.
Any other ideas? Anyone faced this before?

Thanks for all the help you can provide.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top