Re: Transactions in Access
- From: "Graham R Seach" <gseach@xxxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 20 Apr 2005 21:34:06 +1000
But ADO transactions are at Connection-level.
Dim cn As ADODB.Connection
'- - - -
cn.BeginTrans
'- - - -
cn.CommitTrans
Regards,
Graham R Seach
Microsoft Access MVP
Sydney, Australia
---------------------------
"Sylvain Lafontaine" <sylvain aei ca (fill the blanks, no spam please)>
wrote in message news:OFqnkY5PFHA.3628@xxxxxxxxxxxxxxxxxxxxxxx
> The SQLTransaction class are for the .NET framework and ADO.NET. ADO and
> ADO.NET are two very different things and cannot be mixed.
>
> ADO transactions are supported under Access if you are using ADO objects.
> You can use the first workspace of the DBEngine to work with transaction
> in exactly the same way as with DAO. However, for bound forms, mixing
> your own transactions with the transactions created by Access for the
> bound form is a recipe for a disaster.
>
> --
> Sylvain Lafontaine, ing.
> MVP - Technologies Virtual-PC
>
>
> "Walter Levine" <wlevine@xxxxxxxxxx> wrote in message
> news:Ok4K9o4PFHA.3760@xxxxxxxxxxxxxxxxxxxxxxx
>> Are ADO transactions supported in Access?
>> the thing I cannot do is to create an SQL Transaction object i.e.
>> Dim myTran as SQLTranaction
>> there seems to be no such thing
>> Cans someone point me to documentation that explains how to do it?
>> thanks
>>
>>
>
>
.
- References:
- Transactions in Access
- From: Walter Levine
- Re: Transactions in Access
- From: Sylvain Lafontaine
- Transactions in Access
- Prev by Date: Re: scalar function return value into a VBA variable
- Next by Date: Re: How can I display data from SQL
- Previous by thread: Re: Transactions in Access
- Next by thread: Not Responding Message
- Index(es):
Relevant Pages
|
|