|
|
|
|
|
|
Re: I wanna to delete a single record from a data block based on table in database [message #673920 is a reply to message #673911] |
Mon, 17 December 2018 20:38 |
|
Oraclinho
Messages: 9 Registered: December 2018
|
Junior Member |
|
|
for sharing the benefit "the main aim of orafaq.com" for all readers of my question. This is the solution.
After reading the help I change my mind to solve that issue. I used the technique of master detail form and the child one. I changed the search technique totally which was depending on LOV. In the other side I used a text item to text search word or date and search button and make it trigger when button pressed as the following:
go_block('master_details_block_name');
commit;
the change where clause of the master details block to make text item = search text item. Also I put the other buttons like save and delete in the master details block and the search and clear buttons in the sub-block. So I solved the problem of delete as the query will be in that new case in execute_query mode then it performs the real deletion instead of insert in the first case. Also it solved the update problem by save button instead of inserting new row because of the same reason of execute_query mode.
|
|
|