Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can SQL and VFP transactions co-exist?
Message
 
 
To
16/04/2015 03:16:54
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01618504
Message ID:
01618536
Views:
40
>
>You mention that you use CursorAdapters, you may need to set their UseTransactions property.
>
>From the help file:
>
>The CursorAdapter object relies on ADO and ODBC APIs to manage transactions. If you ignore API recommendations and send specific transaction commands directly to an ADO or ODBC backend, you may want to set the UseTransactions property to False (.F.) to prevent undesirable transaction interaction.
>
>
>Regards.-

Again, thank you for bringing up the UseTransactions property. The default value for this property is .T. and I never touched it in my CA object. And the VFP help says
The settings for the UseTransactions property are:

Setting  Description  
True (.T.)
 (Default) The CursorAdapter uses transactions when sending Insert, Update or Delete commands through ADO or ODBC.
 
False (.F.)
 The CursorAdapter doesn't use transactions when sending Insert, Update or Delete commands through ADO or ODBC.
And since I do use Transactions through ODBC, why would I need to set this property to .F. ? Unless I misunderstood what you were suggesting.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform