for an example, say you have a block called my_block and you want to create a new record in the block using a button. You would have the following code in your button.
If you wanted to commit and clear the block use.
If you wanted to commit the entire form then
Remember, a block based on a table will directly update,delete, and insert on the base table. If your block is based on a complex view, you would want to set up on-insert, on-delete, and on-update triggers on the block to handle the base tables making up the view.
You do not need a parachute to skydive. You only need a parachute to skydive twice.