CLEAR_BLOCK(DO_COMMIT) did not work in the first place that is why I changed the code .
This is a master detail block. On one of the items key next item I have an alert . When the alert button is 1 I want to delete the whole details (multi record block) and add new lrecords to the mutli record detail block.
Right now it does clear the record from the block with no_validate .. but when I save the old records are not deleted from the table.
Main Topics
Browse All Topics





by: flow01Posted on 2009-06-04 at 10:59:20ID: 24549578
NO_VALIDATE Oracle Forms flushes the current block without validating the changes, committing the changes, or prompting the end user.
********** ********** ***
ASK_COMMIT Oracle Forms prompts the end user to commit the changes during CLEAR_BLOCK processing.
DO_COMMIT Oracle Forms validates the changes, performs a commit, and flushes the current block without prompting the end user.
NO_COMMIT Oracle Forms validates the changes and flushes the current block without performing a commit or prompting the end user.
**************************
So, you are flushing the block , perform a commit on a empty block and query the (same) results.
I suggest you
delete the code-block
Clear_block(no_validate);
do_key('commit_form');
synchronize;
and activate the
Clear_block(DO_COMMIT);
Why did you change that code ?