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!

closing a window

771549Nov 16 2010 — edited Nov 16 2010
Hello all

I'm Working on form 6i.

I have Create a form with two blocks... a control block(Condition) in separate window and a data block(emp) with separate window.

pressing a button in the emp_block i'm showing control block window...

in that control block i'm giving a searching criteria and executing the query..... i'm getting the records into emp_block.. it is fine....

In when-window-closed trigger i have written this code.....
declare
win_name varchar2(30);
begin
win_name:=get_window_property('emp_window',title);
if win_name='EMP' then
if :system.form_status='CHANGED' then
commit_form;
if :system.form_status<>'QUERY' then
exit_form(no_validate);
end if;
end if;
end if
exit_form(no_commit);
end;

it is working fine with emp block window but when i trying to close control block window it is closing total form....

i need to set the focus to emp_block when control block window is closed....

help me...

thanks
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 14 2010
Added on Nov 16 2010
3 comments
65 views