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!

cant hide window

866473Aug 31 2011 — edited Sep 6 2011
Helo.
I have a problem with my aplication. My form contains 2 window. First window contains data and buttons connected with them, when I click on my button i have call 2nd window. In this 2nd winow I have a button, which inserts some data. Now my question: What PL/SQL code behind "when-button-pressed" should look like if I want to hide this window after insert??
This is my code:
insert into ORDERS(orders_orderbooksid, orders_name, orders_lastname, orders_address, orders_email, orders_phone)
values (:BOOKS.BOOK_ID, :ORDERS.ORDERS_NAME,:ORDERS.ORDERS_LASTNAME, :ORDERS.ORDERS_ADDRESS, :ORDERS.ORDERS_EMAIL, :ORDERS.ORDERS_PHONE);
commit;
:ORDERS.ORDERS_NAME:='';
:ORDERS.ORDERS_LASTNAME:='';
:ORDERS.ORDERS_ADDRESS:='';
:ORDERS.ORDERS_EMAIL:='';
:ORDERS.ORDERS_PHONE:='';
hide_window('ORDERS');

Please help.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 4 2011
Added on Aug 31 2011
14 comments
4,683 views