Results 1 to 5 of 5

Thread: Should I use a DAO !!

  1. #1

    Thread Starter
    New Member
    Join Date
    Jul 2008
    Posts
    1

    Should I use a DAO !!

    Please guys could you tell me the advantages for using Data Access Object (DAO) to connect my Database (made by Access) to my program (made by VB6) , and how , and is it better than Data Control item ??

  2. #2
    Frenzied Member Campion's Avatar
    Join Date
    Jul 2007
    Location
    UT
    Posts
    1,098

    Re: Should I use a DAO !!

    I suggest you use ADO. It's more up-to-date and flexible than DAO was ever meant to be.

    And for your other question, both ADO and DAO are better than using a bound data control. However, there are some situations where using a bound data control could be beneficial.

  3. #3
    PowerPoster RhinoBull's Avatar
    Join Date
    Mar 2004
    Location
    New Amsterdam
    Posts
    24,132

    Re: Should I use a DAO !!

    Quote Originally Posted by Campion
    And for your other question, both ADO and DAO are better than using a bound data control.
    Correction: ADO and DAO libraries - there are two data controls: ADO and DAO.

    Quote Originally Posted by Campion
    However, there are some situations where using a bound data control could be beneficial.
    I haven't found one so far. Have you?


    @donjoin:

    no, don't use data control (try to stay away from it as far as possible) nor DAO - ADO is much more robust and flexible data access library.

  4. #4
    Frenzied Member Campion's Avatar
    Join Date
    Jul 2007
    Location
    UT
    Posts
    1,098

    Re: Should I use a DAO !!

    Quote Originally Posted by RhinoBull
    I haven't found one so far. Have you?
    I have never needed a DBC outside of learning exercises. But, you know, never say never. I'm sure someone will think of something.

  5. #5
    PowerPoster Ellis Dee's Avatar
    Join Date
    Mar 2007
    Location
    New England
    Posts
    3,530

    Re: Should I use a DAO !!

    hehheh.

    My first thought on reading the "there are some situations it could be beneficial" comment was "yeah, if you're in a class and the teacher requires it."

    I've never met a useful databound control.

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