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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Optional parameters in stored procedure reports

Status
Not open for further replies.

sonksen

Programmer
Mar 15, 2002
12
CH
Hello

I created a stored procedure report in Impromptu 6.0, that calls a stored procedure in an Oracle package. The stored procedure has some input parameters and a REF CURSOR output parameter. It is working.

The problem is that some of the input parameters (with datatype DATE and NUMBER) are optional. The stored procedure tests if the parameters are NULL and returns the results accordingly. I want to filter the report by a date range (on one of the table columns) or by a number range (on another column).

But when I run the report, Impromptu does not accept empty prompts for these parameters.

Is there a way to do it, besides creating a new parameter in the procedure to define if I want to filter by date or by number ?

Regards,
Ronald

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top