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!

GO_ITEM in oracle forms forum fails the second time

user10264958Jun 2 2009 — edited Jun 10 2009
Hi,

I am new to forms. I am using Forms 10g. I modified an existing item trigger to take my condition, but now the existing part of the code is behaving weird. Let me explain the scenario.

Item Trigger :
--existing part
BEGIN
SELECT From TABLE 1;
Populate some values of control block and go to next block and Query the next block to populate its values
-- added part
Exception
SELECT FROM TABLE 2;
Populate values of current block plus populate values of second block with values fetched from table 2
-- existing part again
Exception
When no data found ask user to manually enter. so go to next item in block.
GO_ITEM('Contrl block.NO'); -- hangs the second time.
END;
END;

The first time I give a condition to let user manually enter, cursor goes to 'Contrl block.NO' and proceeds properly. However, the next time I do the same test case, it hangs before GO_ITEM('Contrl block.NO'). This is very strange. When i comment out my added part, it functions properly. But i don't understand what could be wrong in putting a select quey in exception.

Please help. This has even baffled others in my team.

Thanks in advance.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 8 2009
Added on Jun 2 2009
10 comments
17,207 views