CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Thread: ADO versus DAO

  1. #1
    Join Date
    Mar 2001
    Posts
    20

    ADO versus DAO

    I’m working on a project which needs to read from a dBase format, process some data using an Access 2000 database and then export back to dBase. I’m wondering if anyone has any thoughts on whether to use ADO or DAO. I’ve found DAO to be much more usable with dBase files (you can’t write to a linked DBF with ADO unless you have ADO Service Pack 5 installed, and I haven’t yet found a way to create a dBase file with ADO). However, overall I like ADO better and since it’s newer it would seem in many ways that that’s the way to go.
    One option I’ve thought of is using ADO for most things and then DAO for the things that I have to, but from a programmers standpoint it seems a bit hodgepodge to have a mix like that. Any thoughts?

    Thanks,

    Mike


  2. #2
    Join Date
    Jan 2001
    Posts
    33

    Re: ADO versus DAO

    I would definetely use the DAO to work with Access because it is documented to have the best performance with this db type. As far as dBase - have never used this db.
    If DAO is fast with dBase, too, I would use it to communicate with both databases. I think that one of disadvantages of the DAO is the hierarchical structure. Other than that it's pretty flexible.
    HTH.


  3. #3
    Join Date
    May 2000
    Location
    New York, NY, USA
    Posts
    2,878

    Re: ADO versus DAO

    I would use ADO, because
    1. I think it is better
    2. ADO is the future and DAO will not be supported soon

    Iouri Boutchkine
    [email protected]
    Iouri Boutchkine
    [email protected]

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured