Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Formsbuilders and his annoying messages

Status
Not open for further replies.

mike778

Programmer
Jul 30, 2003
12
SE
I run exec_query from formsbuilder.
when he doesnt find anything he always writes:
FRM-40350: Query caused no records to be retrieved.

But, I don't want him to do that, instead he should write nothing. has anybody an idea how to make him shut up? :)

thanks,

greetings, Michael
 
Try to catch it in on-message trigger.

Regards, Dima
 
I tried this "on message" trigger:

DECLARE
lv_errcod NUMBER := MESSAGE_CODE;

BEGIN
IF lv_errcod = 40350 THEN
null;
end if;
END;

but doesnt work :-(.
 
1. You should process other message codes also or you may miss something important;
2. Both 40301 and 40350 have about the same meaning, so you should catch both;
3. Check whether there's no other ON-MESSAGE triggers defined on the lower level.

Regards, Dima
 
oh, you where right with the lower level, thank you.

greetings, mike
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top