key-delrec [message #458313] |
Fri, 28 May 2010 10:25 ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
theowais
Messages: 75 Registered: October 2009 Location: Multan
|
Member |
|
|
I want to delete a record.
On push button when I write the following code :
do_key('delete_record');
commit;
--it works
But when I write the same code in KEY-DELREC trigger and
on push button I write following code :
execute_trigger('KEY-DELREC');
--it does not work
can any one help me???
|
|
|
|
Re: key-delrec [message #458367 is a reply to message #458360] |
Fri, 28 May 2010 22:19 ![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) |
theowais
Messages: 75 Registered: October 2009 Location: Multan
|
Member |
|
|
It works.
But when I close the form there is a message :
Do you want to save the changed you have made???
I wish when it delete the record it must also perform commit to avoid message on closing form.
|
|
|
|
|