"Michel Walsh" <vanderghast@VirusAreFunnierThanSpam> wrote in
news:#(E-Mail Removed):
> "David W. Fenton" <(E-Mail Removed)> wrote in message
> news:Xns9B48B358E1FB7f99a49ed1d0c49c5bbb2@74.209.136.93...
>> "Douglas J. Steele" <NOSPAM_djsteele@NOSPAM_gmail.com> wrote in
>> news:(E-Mail Removed):
>>
>>> Just curious. If you're familiar with DAO, why are you switching
>>> to ADO? Hopefully it's not because someone told you should
>>> because ADO is replacing DAO, because that's simply not true.
>>
>> I was going to ask that question myself. I've never learned ADO
>> in any detail because most of my apps use Jet back ends, and ADO
>> simply serves no purpose with those.
>
> Some Jet 4.0 extensions are (at least, were) only available
> through ADO.
This is true, of course, but it's not by necessity, but by
Microsoft's choice (as part of their misguided efforts back in the
day to replace DAO with ADO; for some reason they seemed to think
the merits of the switch were not sufficient, so they had to
introduce artificial hurdles to continuing to use DAO in order to
drive people towards ADO). And if one doesn't need that small
handful of features, there's no point in using ADO all the time.
> The
> powerful CHECK( ) constraint (as defined by Jet, not the standard
> one, limited ) among one of them, as example. Sure, once it is
> defined, it fires even if you then use DAO or ADO since the
> database engine will simply see the constraint (and not WHAT
> append it to the db).
So, you use ADO (with late binding) for the handful of Jet features
MS has not yet implemented in DAO. Frankly, since 1999 when Jet 4
was released, I've never yet needed even one of those features.
--
David W. Fenton
http://www.dfenton.com/
usenet at dfenton dot com
http://www.dfenton.com/DFA/