Georgios Liakopoulos <(E-Mail Removed)> wrote in
news:ic0m7e$1322$(E-Mail Removed):
> Yes, I could do it with DAO but isn't ADO more powerful, modern
> etc.? Isn't worth it to use ADO instead?
No, ADO is not "more powerful, modern etc." ADO is no longer in
development, as it's been replaced on MS's agenda by ADO.NET, which,
despite the similar name (and some common syntax), is a completely
different animal, and not usable in Access applications.
With a Jet/ACE back end (MDB/ACCDB), ADO is going through extra
layers to work with Jet/ACE, whereas DAO is Jet/ACE's native data
interface. Likewise, there are features of Jet/ACE not supported in
ADO (because ADO is a generic data interface layer, like ODBC on
steroids), and then you need to use additional libraries. For
instance, to compact a database, you have to use JRO, because ADO
has no support for that.
DAO is in current development, being kept up-to-date with the new
versions of ACE (and backwardly compatible with Jet 4 and before).
Classic ADO (which is all Access can use) is never ever going to be
updated again. It's dead as a doornail.
And it was never faster.
It was also never the better choice for Jet, despite what Microsoft
implied. The push for ADO in Access by MS was made on political not
technical grounds. The reason MS wanted ADO was so it could retire
DAO and Jet. But they realized after they attempted this that it
just didn't work very well, and backtracked and eventually gave
Access it's own private version of Jet (with A2007, now called ACE)
that would be developed to meet the needs of Access and its larger
ends (which include close integration between Access and Sharepoint,
which has driven a lot of the new features in the database engine,
not all of which are particularly useful by themselves).
In short, the idea that ADO is better or the future is about 10
years out of date.
--
David W. Fenton
http://www.dfenton.com/
contact via website only
http://www.dfenton.com/DFA/