Re: Which Object to use for Tansaction process

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Roshan,

The only way to use a single object to wrap the transactions is if you use
DAO or ADO exclusively. Even then, if you use DAO, you have to use the same
workspace for all transactions. Similarly, if you use ADO, you have to use
the same connection for all transactions.

My advice is to choose one or the other. If you're operating solely on Jet,
then use DAO, otherwise use ADO.

In any case, there's nothing wrong with using two objects, provided you keep
them synchronised.

Regards,
Graham R Seach
Microsoft Access MVP
Sydney, Australia
---------------------------

"Roshan Abbasi via AccessMonster.com" <forum@xxxxxxxxxxxxxxxxx> wrote in
message news:511BD4D93D5E0@xxxxxxxxxxxxxxxxxxxx
> Thanks Graham for the response. But, my actual confusion still persists.
> I am wondering, is there any solution for the situation, depicted in my
> Xmple
> procedure, that is, one Transaction process nesting all the function
> calls,
> which use two different types of recordsets.
>
>
> --
> Message posted via AccessMonster.com
> http://www.accessmonster.com/Uwe/Forums.aspx/access-forms/200507/1


.



Relevant Pages

  • Re: Transactions in Access 2000
    ... DAO ones do. ... I need to use transactions to make sure data is consistent. ... like ADO as to make the db as portable between Access versions ... ADO you shouldn't have a portability problem. ...
    (comp.databases.ms-access)
  • Re: Transactions in Access 2000
    ... I need to use transactions to make sure data is consistent. ... ADO Object Model but if you use ... ADO you shouldn't have a portability problem. ... DAO will solve the portability problem, not ADO, which was not ...
    (comp.databases.ms-access)
  • ADO transactions
    ... I cannot find the documentation relating to transactions in ADO. ... Is it identical to those in DAO? ...
    (comp.databases.ms-access)
  • Re: ADO transactions
    ... I cannot find the documentation relating to transactions in ADO. ... Is it identical to those in DAO? ... Canada will be the first to come back. ...
    (comp.databases.ms-access)
  • Re: How to enforce subtypes/supertypes in Access 2000?
    ... DAO is the native object model for Jet databases and, as such, is the ... ever need ADO. ... Private Sub SetContactType() ...
    (microsoft.public.access.tablesdbdesign)