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!

getting problem in firing go_form() and open_form() buil-ins

610042Sep 24 2008 — edited Sep 25 2008
I am having a problem with a 10g form with When-Button-Pressed trigger code containing a OPEN_FORM(form_name, NO_ACTIVATE, SESSION) statement. It is supposed to open the child form, then transfer control back to the parent form to perform additional processing, then transfer control to the child form using GO_FORM.

The code stops processing following successful completion of the OPEN_FORM statement, leaving the parent form with focus.

Actually,I was trying to open a form say FormB from FormA using open_form('FORMA',NO_ACTIVATE, SESSION). Then from a trigger in FormA I want to navigate to FormB using go_form('FORMB').But it is not doing navigation.

Below is the code I have written in When-Button-Pressed trigger

declare
form_id FORMMODULE;

begin

open_form('TestForm2',no_activate,no_SESSION,SHARE_LIBRARY_DATA);

form_id:=FIND_FORM('TESTFORM2');

go_form(form_id);
go_block('EMPLOYEE_S1'); ---EMPLOYEE_S1 is a block in 'TESTFORM2'
go_item('EMPID');
COPY(1243, 'EMPID');
do_key('COMMIT_FORM');

end;

If anyone has insight as to what causes this, I'd greatly appreciate it.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 23 2008
Added on Sep 24 2008
11 comments
762 views