您可以隨時定義一對值,其中第一個將顯示,第二個將作爲選定值返回。
實施例1:值的列表基於SQL查詢
SELECT ename, empno FROM emp ORDER by 1
//Here ename will be displayed and empno will be returned
實施例2:用相同的顯示和返回值的值列表
SELECT ename d, ename r FROM emp ORDER BY 1
//When selecting the same column for both the display and return values use a column alias.
實施例3:靜態列表示例
•STATIC:Cow,Dog,Cat,Lion (will be sorted alphabetically)
•STATIC2:10,15,20,25,50,100,200,500,1000,10000 (sorted in order of creation)
•STATIC:Yes;Y,No;N (show Yes/No, return Y and N)
例4:用綁定變量
SELECT ENAME, EMPNO FROM EMP WHERE DEPTNO = :P3_DEPTNO ORDER by 1
有一個在LOV項定義,讓你輸入一個默認值的特定字段值的列表。 – Typo
問題不清楚。你說你知道設置默認值,但你不知道如何設置默認值?我們在這裏錯過了什麼? – Tom