Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

using "pl/sql function body" for default value of an item

97164Jan 7 2005 — edited Mar 16 2006
I have created a function xprim giving a maxvalue+10(p.e. select max(deptno)+10 into newv from dept)
for using it as default value for an item:
the items default value is TYPE= PL/SQL expression and value= xprim;
this works fine !
But how could I do this if I want to use TYPE= PL/SQL function body ???
I tested someting but no success; My problem is how to define the desination. :P1_X := 10 (TYPE= function body)
no error, but did not work bu
( I do not want to use a trigger or sequence !)
Thanks
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 13 2006
Added on Jan 7 2005
7 comments
1,717 views