So I know how I can write a transaction for a table and if there's an error, rollback the changes.
How would I go about doing this if I wanted to rollback multiple changes to multiple tables?
e.g. I'm trying to write to four tables [BPR], [BPS], [BPA], [BID]
Doing each one individually, if the first three were successful but the fourth wasn't, the data would be written to the first three and not the fourth?
Trbegin [BPR] If !fstat Write [F:BPR] Commit Else Rollback Endif