Syntax
CLEAR_BLOCK (commit_mode NUMBER);commit_mode is optional action parameter takes the following possible constants as arguments:
ASK_COMMIT
Oracle Forms prompts the user to commit the changes before clearing the block.
DO_COMMIT
Oracle Forms validates the changes, performs a commit, and clears the current block without prompting the user.
NO_COMMIT
Oracle Forms validates the changes and clears the current block without performing a commit or prompting the user.
NO_VALIDATE
Oracle Forms clears the current block without validating the changes, committing the changes, or prompting the user.
Example