APEX: apex_application.g_print_error_message problem

When i use this command

apex_application.g_print_success_message := '<span style="color:GREEN">Message</span>';

to show a success message, works great

but when I used the error apex_application.g_print_error_message , it gives me this error, anyone can help me

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

+4
source share
1 answer

apex_application.g_print_error_message is a variable so you can set it to a value like '<span style = "color: GREEN"> Message </span>', but you cannot execute it as a "command".

+4
source

Source: https://habr.com/ru/post/1341627/


All Articles