Home » Developer & Programmer » Forms » How to trap FRM-40350 in Forms
How to trap FRM-40350 in Forms [message #80596] Fri, 18 October 2002 08:40 Go to next message
Messages: 78
Registered: June 2002
I have a NEW-BLOCK-INSTANCE trigger at block level and at the end of the code I am calling EXECUTE_QUERY built-in function. When there are no records in the base table then it is displaying "FRM-40350:Query caused no records to be retrived" on the message line. I want to write some other code, like hide the canvas, when EXECUTE_QUERY returns no data. Please guide me how can I accomplish this task. I appreciate in advance for your help.
Re: How to trap FRM-40350 in Forms [message #80599 is a reply to message #80596] Fri, 18 October 2002 13:32 Go to previous messageGo to next message
ram kumar
Messages: 113
Registered: August 2002
Senior Member
try using on-error,on-message triggers...

Re: How to trap FRM-40350 in Forms [message #80640 is a reply to message #80596] Thu, 24 October 2002 15:05 Go to previous message
Messages: 36
Registered: October 2002
Try this:

if get_block_property('blockname',query_hits) = 0
end if;
Previous Topic: what should be source.
Next Topic: forms6i-urgent
Goto Forum:

Current Time: Sat Mar 02 19:41:22 CST 2024