S
Simon Harvey
Hi guys,
I noticed when I tried to create a Database object in VBA, that VB had no
idea what i was talking about. I figured it would be another reference issue
but i couldnt think why such a default library would be missing. So I
discovered that ADO, which doesnt have a database object, is referenced by
default and you have to explicitly reference DAO 3.6 to get access to the
required objects.
I have two questions. How come ADO is used now instead of DAO and should I
be using ADO instead?
Also, in as few words as possible (i'm not expecting a whole article on it
, how do you access database tables using ADO.
Does anyone have a decent resource that describes ADO in terms of VBA
explicitly?
Thanks everyone
Kindest Regards
Simon
I noticed when I tried to create a Database object in VBA, that VB had no
idea what i was talking about. I figured it would be another reference issue
but i couldnt think why such a default library would be missing. So I
discovered that ADO, which doesnt have a database object, is referenced by
default and you have to explicitly reference DAO 3.6 to get access to the
required objects.
I have two questions. How come ADO is used now instead of DAO and should I
be using ADO instead?
Also, in as few words as possible (i'm not expecting a whole article on it
, how do you access database tables using ADO.
Does anyone have a decent resource that describes ADO in terms of VBA
explicitly?
Thanks everyone
Kindest Regards
Simon