cascading prompt style LOV in report parameter form [message #204930] |
Wed, 22 November 2006 11:54 |
srao
Messages: 9 Registered: March 2005
|
Junior Member |
|
|
Hi
I am using report developer 10g on windows xp.
I need a cascading prompt style dynamic LOVs in my report parameter form.
The first LOV displays a set of values (say for eg. dept list). The second LOV will display another list, based on the value chosen by the user in the first LOV (Eg. List of employee names in that dept).
My first LOV select statement may look like below for the user parameter say P_DEPT
select deptno from dept;
My sencod LOV select stmnt may look like below for the user parameter P_EMP
select ename from emp where deptno = :P_DEPT
Each time I try to set the second LOV, report developer complains "Bind variables not allowed in select statement"
Same error msg comes if I reference the first user parameter(P_DEPT) as a lexical parmaeter.
How do I acheive the above in report parameter form? Any help is appreciated greatly...
Thanks
Suma
|
|
|
|
|