hi there

I have forms-6i procedure that runs when button pressed and contains update and insert commands,
and there are so many checks before committing, if one of these checks fails I call (RAISE FORM_TRIGGER_FAILURE), but when I press the button again with no fails, the transactions(update and insert) run twice.

what should i do to solve it