Site Menu
- Home
- Products
- NexusDB
- Nexus Quality Suite
- NexusDB Drivers & Connectors
- Nexus Remoting
- Nexus Memory Manager
- Some of our Customers
- Testimonials and use(r)s
- Downloads
- Documentation
- Support
- Pricing & Orders
- About
- Community
- My Nexus
- Recently Updated ...
- Search...
- Site Login
Search
How do I handle Exceptions during transactions?
Here's a how an exception handler might look:
except if tnxDataBase1.InTransaction then tnxDataBase1.Rollback; end;
Don't forget to call Cancel on any tables that are in Edit mode when rolling back!
Code actually should always look like this:
nxTable.Insert; //or .Edit; try //.... nxTable.Post; except nxTable.Cancel; raise; end;
Questions? Problems?
- Interested to buy but something put you off?
- Can't find what you're looking for?
- Have a suggestion?
Let us know. If you're having trouble contacting us, please check here.
Site Updates
- Dec 4 2024 - 1:53pm
- Dec 4 2024 - 1:48pm
- Nov 19 2024 - 1:04pm
- Oct 17 2024 - 10:27am
- Jul 24 2024 - 1:22pm