how change form mod from insert to query such as cancel [message #166428] |
Thu, 06 April 2006 04:59 ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
mfa786
Messages: 210 Registered: February 2006 Location: karachi
|
Senior Member |
|
|
him master
sir my use go in insert mode but he not have full information then he cancel inserting record and go back to query mode how or cancel the inserting mode how he change insert mode to query mode or view mode
such as mode 1 replace with mode 2
mode 1.
:system.form_status='CHANGED'
mode 2.
:system.form_status='QUERY'
sir how i use f-key mi my form and can i visual false or hide the insert and delete button from defauld toolbar how sir
please give idea and sample code
thanking you
Aamir
|
|
|
Re: how change form mod from insert to query such as cancel [message #166536 is a reply to message #166428] |
Thu, 06 April 2006 19:47 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) |
![](/forum/images/custom_avatars/67467.jpg) |
djmartin
Messages: 10181 Registered: March 2005 Location: Surges Bay TAS Australia
|
Senior Member Account Moderator |
|
|
To make the 'insert' and 'delete' buttons 'grey out' then make the block's insert and delete properties 'false'. Concerning canceling a record that is being inserted, in your trigger code make sure that the record IS being 'inserted' and if it is, then do a 'delete_record' to get rid of it.
David
|
|
|