Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Saturday, July 5, 2025 
 
slxdeveloper.com Community Forums  
   
The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
 Architect Forums - SalesLogix Scripting & Customization
Forum to discuss writing script in Architect plugins for SalesLogix & general SalesLogix customization topics (for Windows client only). View the code of conduct for posting guidelines.
Forums RSS Feed


 Back to Forum List | Back to SalesLogix Scripting & Customization | New ThreadView:  Search:  
 Author  Thread: Rollback DB Transaction
drey
Posts: 16
 
Rollback DB TransactionYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 15 Apr 11 12:16 PM

I have a form that delete, update and insert records in 3 separate tables.


Does any one know how to rollback transactions if one of my SQLs fail?


Thank you very much for your help

[Reply][Quote]
RJ Samp
Posts: 973
Top 10 forum poster: 973 posts
 
Re: Rollback DB TransactionYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 23 Apr 11 9:15 AM

Run the vbScript SQL in ADO recordset queries. ADO supports Begin Trans, et al operations.....


With remote client synchronization this is a very slippery slope....cascading relationships between entities (Account Addresses, Opportunity Products, et al) could leave you in very bad shape indeed if you try to roll back an Account Delete for example....


 


This is very advanced programming stuff and not for the faint of heart....


 


 


 


 

[Reply][Quote]
 Page 1 of 1 
  You can subscribe to receive a daily forum digest in your user profile. View the site code of conduct for posting guidelines.

   Forum RSS Feed - Subscribe to the forum RSS feed to keep on top of the latest forum activity!
 

 
 slxdeveloper.com is brought to you courtesy of Ryan Farley & Customer FX Corporation.
 This site, and all contents herein, are Copyright © 2025 Customer FX Corporation. The information and opinions expressed here are not endorsed by Sage Software.

code of conduct | Subscribe to the slxdeveloper.com Latest Article RSS feed
   
 
page cache (param): 7/5/2025 9:08:35 AM