Hi All,
I have tried searching every where for an answer to this but I just can’t find it. So please be forgiving if I missed some obvious posting here that explains this all.
First my info:
BO Version: 6.5 SP2
Client: Developing on Full-Client, but need to report through InfoView Enhanced Doc View
Database: Oracle
Background:
A VERY LONG SQL statement, so long that BO can’t handle it as a Derived table, or as Freehand SQL. Believe me it is long and BO chokes on it. A DB view won’t give me the ability to parameterize the SQL as I need, so I turned to the stored procedure.
Requirement:
I need to be able to submit multi-value parameters to the stored procedure. Please understand that I do not mean multiple parameters, but rather multiple values for the same parameter; much the same way that regular prompts in BO allow you to select multiple values for a single prompt from an List of Values (LOV).
What I did:
I’ve been able to trick BO into letting me create a prompt with an LOV. I did this by adding a new data provider based on a universe that had a condition prompt with the same wording and case as the procedure parameter.
Problem:
When I select multiple values for the prompt in the LOV and submit them as usual, the stored procedure seems to only receive the first value in the parameter box. Is there anyway to get BO to send multiple values using an LOV to a stored procedure?
Smaller Requirement:
I also want to have nice looking prompts that are worded the same as others in our data mart. What I mean is that they can’t say “INPUT_DATE”, but that they should read more user friendly “Input Date (use format MMDDYYYY)”. How can I do this? Can I use free-hand SQL to collect the prompts and then pass them to the stored procedure? How does this work? Can the stored procedure still be a REF CURSOR stored procedure?
Any help or advice will be greatly appreciated.
dajabon (BOB member since 2003-09-09)