Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Again, troubles with CursorAdapter
Message
From
16/08/2003 17:12:13
 
 
To
16/08/2003 14:42:15
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00819734
Message ID:
00820822
Views:
62
>Hi Bob,
>
>because i want a implicit protection,
>also regarding a whichever bug that was present in VFP or my program.

Well, the ONLY way there will be a disconnect from VFP will be if YOUR CODE used SQLDisconnect.

If VFP crashes, so will the inproc ODBC driver.

If VFP crashes then your code certainly can't SQLDisc().

If VFP crashes then VFP code certainly can't send ODBC a commit.

If VFP the machine vfp is on crashes, same thing.

In all the above cases, the connection to the server will drop and the server will rollback automatically.

So, the ONLY way that I can see VFP sending a Commit to ODBC on disconnect is if it is RUNNING and you coded SQLDisc() on a connection with a pending transaction.

So, it SEEMS to me you don't want 'control' but you want protection from bad coding habits.

BOb
Previous
Reply
Map
View

Click here to load this message in the networking platform