This discussion is archived
7 Replies Latest reply: Dec 13, 2013 1:28 PM by Stewed RSS

Apex: output message from pl/sql process

NewApexCoder Newbie
Currently Being Moderated

Apex 4.2

 

THis is kind of an Apex and Pl/Sql question, but more so Apex because I'm using that environment. I have a pl/sql process with an IF - Else statement. It's a real simple process where you check:

 

IF P101_Count > 1 Then

   Do stuff;

Else

   Output an error message.

 

The process runs when I click a button.

 

I am just not sure how to get an error message to display to the screen. I am not sure of the syntax.

 

Any help on this topic would be greatly appreciated. Thanks in advance.

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points