New window opened as deactivated [message #489397] |
Sat, 15 January 2011 11:38 ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
athar.fitfd@hotmail.com
Messages: 193 Registered: October 2007 Location: pakistan
|
Senior Member |
|
|
Hi
Everyone,
i want to open a new window from my form. everything going well but when a new window opened. the control remains on previous form. and the new window is also inactive. i tried go_item with the item belongs to the new canvas but in vain.
anybody any clue.
please share.
Regards
Athar
|
|
|
|
|
|
Re: New window opened as deactivated [message #489497 is a reply to message #489494] |
Mon, 17 January 2011 02:12 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
athar.fitfd@hotmail.com
Messages: 193 Registered: October 2007 Location: pakistan
|
Senior Member |
|
|
DECLARE
WHERE_STRING VARCHAR2(1000);
BEGIN
WHERE_STRING:='C_TRANS_ID='''||:ADMIN_COMPLAINTS_MAST.C_TRANS_ID||''' AND C_TRANS_NO='||:ADMIN_COMPLAINTS_MAST.C_TRANS_NO;
SET_BLOCK_PROPERTY('ADMIN_COMPLAINTS_MAST1',DEFAULT_WHERE,WHERE_STRING);
GO_BLOCK('ADMIN_COMPLAINTS_MAST1');
EXECUTE_QUERY;
show_window('ASSIGN_JOB');
GO_ITEM('ADMIN_COMPLAINTS_MAST1.ASSIGNED_TO');
END;
WINDOW STYLE: DIALOG
MODAL:YES
it causes the window to open and disappear in a flash.
if I set
MODAL=NO
then window remains opened but deactivated.
Regards
Athar
[Updated on: Mon, 17 January 2011 02:13] Report message to a moderator
|
|
|
|
|
|
|
|
|
|
|
Re: New window opened as deactivated [message #489524 is a reply to message #489522] |
Mon, 17 January 2011 04:29 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
cookiemonster
Messages: 13963 Registered: September 2008 Location: Rainy Manchester
|
Senior Member |
|
|
I can only suggest you run the form in debug mode and see what triggers fire when. Only thing I can think is that there is some code in a trigger that is explicitly causing the form to exit the window.
|
|
|
|