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!

Is it possible to change background color of apex_application.g_print_success_message?

ReemaPuriApr 6 2015 — edited Apr 6 2015

I have a application process on button Create :-

DECLARE

begin

IF PACKAGENAME.FUNCTIONNAME(PARAMETERS)=1 THEN

apex_application.g_print_success_message := 'Record Already exist for same schedule';

ELSE

INSERT PROCESS

END IF;

END ;

With apex_application.g_print_success_message everything works fine but

if i am using apex_application.g_print_error_message

giving following error

ORA-06550: line 10, column 20: PLS-00302: component 'G_PRINT_ERROR_MESSAGE' must be declared ORA-06550: line 10, column 3: PL/SQL: Statement ignored

Selection_002.png

Because

apex_application.g_print_error_message is a variable,

but you can't execute it as a "command"

But my question is can we change the background color of apex_application.g_print_success_message

to red not just text ?is it possible .

This post has been answered by Jitendra on Apr 6 2015
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 4 2015
Added on Apr 6 2015
3 comments
1,638 views