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 ??
Printable View
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 ??
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.
Correction: ADO and DAO libraries - there are two data controls: ADO and DAO.Quote:
Originally Posted by Campion
I haven't found one so far. Have you?Quote:
Originally Posted by Campion
@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.
I have never needed a DBC outside of learning exercises. But, you know, never say never. I'm sure someone will think of something. :DQuote:
Originally Posted by RhinoBull
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.