Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cascading LOVS - default values

I have two cascading LOVs. After changing value of my first LOV in second LOV appropriate values are populated.

enter image description here

First LOV: name - P2_DEPTNO

select dname, deptno  
from dept  
order by 1;  

Second LOV: name - P2_EMPNO

select ename, empno  
from emp  
where deptno = :P2_DEPTNO;  

cascading LOV parent - P2_DEPTNO

What should I add to set default value of second LOV (first row from query) after changing first LOV value?

like image 957
Bakus123 Avatar asked Apr 01 '26 15:04

Bakus123


1 Answers

Make sure you have Display Null Value set to No and it should use the first value in the list. (Although I am not sure what it will do with Popup LOV).

like image 107
Turntablez Avatar answered Apr 08 '26 18:04

Turntablez



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!