Anyone have a program where validate befor save in a data with transactions. ejmp. whenever error, begin, rool back or commit.

Thank you.