in

http://msdn2.microsoft.com/en-us/library/dtytxez4.aspx

Microsoft describes the new property <DisconnectRollback>
in VFP 9.

When for example the system crashes open transactions
are rolled back. The default setting does not do that
and also the previous VFP Versions dont support that.

Unfortunately I have to develope some projects
with older versions of VFP than version 9.

So my question is:
Is it possible to achive the same effect by using
for example ODBC-API functions like
o SQLSetConnectOption oder
o SQLSetConnectAttr
o ...
If it is possible how is it done exactly ?

I tried to debug this by using an open source
odbc-driver but none of the exported functions was
called when executign the command:
SQLSETPROP(oApp.hCon, 'DisconnectRollback', .T.)

Many thanks in advance

Lutz

Re: SQLSETPROP / DisconnectRollback by Bernhard

Bernhard
Thu Oct 26 05:58:49 CDT 2006

Hi Lutz,

> http://msdn2.microsoft.com/en-us/library/dtytxez4.aspx
>
> Microsoft describes the new property <DisconnectRollback>
> in VFP 9.
>
> When for example the system crashes open transactions
> are rolled back. The default setting does not do that
> and also the previous VFP Versions dont support that.
Just an idea: maybe your server backend has some settings for this purpose.

Regards
Bernhard Sander

Re: SQLSETPROP / DisconnectRollback by Lutz

Lutz
Thu Oct 26 06:53:43 CDT 2006

Hi Bernhard,

we are working with Firebird - ODBC - VFP

Unfortunately i did not find a setting
on the firebird server or the databases
so far.

Greetings
Lutz


Bernhard Sander schrieb:
> Hi Lutz,
>
>> http://msdn2.microsoft.com/en-us/library/dtytxez4.aspx
>>
>> Microsoft describes the new property <DisconnectRollback>
>> in VFP 9.
>>
>> When for example the system crashes open transactions
>> are rolled back. The default setting does not do that
>> and also the previous VFP Versions dont support that.
> Just an idea: maybe your server backend has some settings for this purpose.
>
> Regards
> Bernhard Sander