Hi, Dave.
How can I or can I make a db that is copied from one machine to another
correctly use the original references via the modules?
The referenced libraries are not located in the same path on the second
computer as they are on the first computer. There are three ways to solve
this problem:
1.) Configure both computers with identical file paths for the library
files referenced by the database application; or
2.) When the database application is migrated to the second computer, open
any module in the VB Editor, compile all of the modules, and add any missing
references if necessary; or
3.) Use VBA to programmatically drop, then add, the necessary references
(using the second computer's file paths) to the References Collection at
start up. This can only be done with the non-default references. The
default references aren't going to be dropped from the collection, no matter
how hard you try.
HTH.
Gunny
See
http://www.QBuilt.com for all your database needs.
See
http://www.Access.QBuilt.com for Microsoft Access tips.
(Please remove ZERO_SPAM from my reply E-mail address, so that a message
will be forwarded to me.)