Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
RollBack transaction doesn't work
Message
 
 
To
24/11/2009 11:44:58
General information
Forum:
Visual FoxPro
Category:
Client/server
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Desktop
Miscellaneous
Thread ID:
01436291
Message ID:
01436386
Views:
43
>>Did you try passing 3 commands to one command as a batch?
>
>Hi, Naomi
>
>I don't tried... because I rejected this sugestion - excuse me
>
>I have another SQL commands(insert, update, delete) to put between Begin and Commit/Rollback transaction

IMHO, you have to try them.

Otherwise use ADO Transactions, not SQL Server transactions as in your code.

Check this article (the principle should apply even if it's written for .NET):

http://www.code-magazine.com/Article.aspx?QuickID=0311051
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform