The parameter p_type is the LOV based on the select:
Select p_type from parameter_types where table_name = 'X' and column_name = 'Y' UNION Select '-All-' from dual;
Also the 1)Restrict List to Predermined Values is checked and 2) Hide First Column is unchecked. 3) initial value not given I tried by setting up the into initial value to 'ALL'
Please help/suggest to debug this
It seems that you set parameter's initial value to something that LoV query doesn't return.
For example, suppose that you used Scott's DEPT
table and set LoV to return this:
SQL> select dname from dept order by dname;
DNAME
--------------
ACCOUNTING
OPERATIONS
RESEARCH
SALES
Setting initial value to eg FINANCIALS
would cause that error because FINANCIALS
doesn't exist among selectable values ( ACCOUNTING
, OPERATIONS
, RESEARCH
, SALES
).
What to do? Remove initial value, or set it to one of valid values.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.