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!

Help with PL/SQL Function returning error text

LotsVivJan 16 2020 — edited Jan 16 2020

HI: I have a modal Dialog window and I am on Apex 5.1.  One item in the modal window is a seqnumber.  This is a drop down using Select List.

I am wanting to output message that when user select on their seqnumber.

So I created this validation using PL/SQL Function (returning error text).  But it is doesn't return any message.

Can some one give me pointers?

Display location = Inline in Notification

Associated Item = P28_seqnumber

Always execute = no

declare

v_cnt number;

Begin

select count(*) into v_cnt

from table

where seqnumber =:P28_seqnumber;

IF v_cnt > 0 THEN

RETURN '<font color="red">THIS RELEASE # IS ASSOCIATED TO A RECALL. RECALL WILL ALSO BE DELETED.<font color="red">';

END IF;

END;

This post has been answered by Keyser on Jan 16 2020
Jump to Answer
Comments
Post Details
Added on Jan 16 2020
6 comments
1,509 views