Hi,
I have this sequence of action to run.
- I execute a select statement to verify if I can run an insert statement.
- If I can, I run the insert and I show an alert for the user.
- If I can't I want to show a second alert.
If I use a PL/SQL procedure, and I run it when I click a button, how can I have my alerts from the PL/SQL code (Somethink like APEX_ERROR.ADD_ERROR)? Or... Can I use a better solution?
Thanks.