Setting a default: Microsoft ActiveX Data Objects 2.8 Library

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello,

How to I make the selection/activation of access to this library (manually set by going to Tools>References when you're in the VBA editor) the default? Or, is there a way to set it from the normal database screen, without having to open the VBA editor?

Thanks,
RichardA
 
You can't add default references. You could create an empty database with
the correct references and copy it everytime you want a new database (rather
than using Access to create the new database).

Through code, you can use the References Collection's AddFromFile or
AddFromGUID methods.

--
Doug Steele, Microsoft Access MVP

(no e-mails, please!)



RichardA said:
Hello,

How to I make the selection/activation of access to this library (manually
set by going to Tools>References when you're in the VBA editor) the default?
Or, is there a way to set it from the normal database screen, without having
to open the VBA editor?
 
Back
Top