APEX: apex_application.g_print_error_message problem
Asked Answered
S

2

7

When i'm using this command

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

to show success message is works fine

but when i used the error command 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

Suppositious answered 28/2, 2011 at 10:52 Comment(0)
O
5

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 can't execute it as a "command".

Olvan answered 19/5, 2011 at 9:6 Comment(0)
L
1

No apex_application.g_print_error_message is available, only apex_application.g_print_success_message is.

Can try apex_error package. See Using APEX_ERROR to manage custom error messages.

Leathaleather answered 10/9, 2018 at 1:41 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.