?
Solved

Oracle BI Publisher parameter selection error

Posted on 2009-04-08
2
Medium Priority
?
3,436 Views
Last Modified: 2012-05-06
There are three parameters in the report.
Upon clicking view the results are displayed.
The issue is if one of the parameter is changes and the others are not changed.
If the User hits view button the report throws an error.
The report only works if all the parameters are chosen again.
Please help me to identify the issue and fix this.
Thank you.
0
Comment
Question by:RND2006
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 48

Accepted Solution

by:
schwertner earned 2000 total points
ID: 24108276
This is normal

see

Oracle Business Intelligence Publisher Report Designer's Guide
Release 10.1.3.4
Part Number E12187-01

Seems you have to investigate the dependent values:

Text - this type allows the user to enter a text entry to pass as the parameter. Enter the Display Label for the parameter and the Text Field Size in characters. You may also enable the following options:

Text field contains comma-separated values - select this option to enable the user to enter multiple comma-separated values for this parameter.

Refresh other parameters on change - performs a partial page refresh to refresh any other parameters whose values are dependent on the value of this one.

Also investigate the default value:

Enter a Default Value for the parameter, if desired. Enter * to pass All as the default.


Note: Using * passes a null, so you must handle the null in your data source. A method to handle the null would be the standard Oracle NVL command, for example:

where customer_id = nvl(:cstid, customer_id)

where cstid is a value passed from the LOV and when the user selects All it will pass a null value.

If your data source is the Oracle BI Server, use the following macro to handle the null:

{$ if ${sYear}='*'$}
{$elsif ${sYear}='2000' $}
where Year = :sYear
{$else $}
where Year = :sYear
{$endif$}
where Year is a value passed from the LOV and when the user selects All it will pass a null value.

Note that the test operator must be either "=" or "!=".


0

Featured Post

Want to be a Web Developer? Get Certified Today!

Enroll in the Certified Web Development Professional course package to learn HTML, Javascript, and PHP. Build a solid foundation to work toward your dream job!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Working with Network Access Control Lists in Oracle 11g (part 1) Part 2: http://www.e-e.com/A_9074.html So, you upgraded to a shiny new 11g database and all of a sudden every program that used UTL_MAIL, UTL_SMTP, UTL_TCP, UTL_HTTP or any oth…
Cursors in Oracle: A cursor is used to process individual rows returned by database system for a query. In oracle every SQL statement executed by the oracle server has a private area. This area contains information about the SQL statement and the…
This video explains at a high level with the mandatory Oracle Memory processes are as well as touching on some of the more common optional ones.
Via a live example, show how to take different types of Oracle backups using RMAN.
Suggested Courses

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question