Home > Building an Application > Creating Lists of Values > Referencing Session State W...
Referencing Session State Within an LOV |
![]() Previous |
![]() Next |
You can reference session state by using bind variables. Keep in mind that referencing session state makes an LOV a bit less reusable, but is still a recommended development practice. In the following example, this LOV only works if the item called my_deptno
contains a valid department number.
SELECT ename, empno FROM emp WHERE deptno = :P1_DEPTNO