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!

Apex Java Error

user1849Jun 24 2021

Hi All
I have 2 Buttons CREATE and CANCEL
I created a Process : on Submit and Validation
Process Code:
begin
if :p31_REVIEWER_ROLE_CD not like '%ADMIN' then
javascript:if(confirm('Save Before Closing'))
{doSubmit('CREATE')}
else
{doSubmit('CANCEL)};
end if;
end;

I am getting Below error
ORA-06550: line 5, column 15: PLS-00103: Encountered the symbol "" when expecting one of the following: := . ( @ % ; The symbol ":=" was substituted for "" to continue. ORA-06550: line 6, column 1: PLS-00103: Encountered the symbol "{" when expecting one of the following: . ( * % & = - + ; < / > at in is mod remainder not rem <an exponent (**)> <> or != or ~= >= <= <> and or like like2 like4 likec between || multiset member submultiset The symbol ". was inserted before "{" to continue. ORA-065
Thanks for your help.

Comments
Post Details
Added on Jun 24 2021
12 comments
215 views