Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Disable automatic ROLLBACK
Message
 
To
20/10/2005 14:26:14
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
01060812
Message ID:
01060986
Views:
11
Hi Andrus,

> Unfortunately, if backend returns error as response to SQLEXEC(), VFP automatically sends ROLLBACK command to backend!

How have you determined that VFP sends a ROLLBACK command? I'm asking, because I haven't seen this behavior yet, and I too, have code that first fails, picks an alternative and completes successfully.

Are you, by chance, disconnecting from the server? In this case, the following line might help:
SQLSetProp( This.nHandle, "DisconnectRollback", .F. )
--
Christof
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform