I have use Do_Key('delete_record'); to perform one delete from a data block. I wanna to show one message when delete occour successfuly or not. In my case I have used exception to show one failure alert, and after Do_Key I have put one success alert. Like this:
Do_key('delete_record');
x := Show_Alert('AL_OK');
Exception When Others
x := Show_Alert('AL_ERROR');
End;
My question is, there is another way to catch the error or success delete from this action? That can I use some if statement to capute this? How?
Thanks all!