Skip to Main Content

Oracle Forms

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Need to create condition when EXECUTE_QUERY returns no records

560590Jul 6 2007 — edited Jul 19 2007
Hello-

I am working on a form personalization to call up the Requisition Summary window from the Discrete Job window. I am using a global variable to pass the discrete job number to the requisition window. When the requisition summary window opens, its displays the requisition lines window. I then invoke query mode using ENTER_QUERY, pass the value of the job number and then EXECUTE_QUERY.

This customization is working fine when the discrete job has a requisition linked to it. When I have a job that is not linked to the requisition, I get stuck in a loop with an error that no records were found. Does anyone have a suggestion on how I can create a condition to cancel the query where there are no records found? I know that I can use COUNT_QUERY to display the number of records found, is there a way that I can get at that value?

Please advise.

Thanks,

Amy Bauman
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 16 2007
Added on Jul 6 2007
10 comments
1,918 views