Brook said:
Thanks for the response, but i'm a little confused...
I understand the fist part... but don't know how to set the reference
to the second DB from the first DB....
Open the VBA development window and then go to Tools - References. You will see
a list of all of the COM libraries registered on your PC and the ones that your
file is actually using will be at the top and "checked". By default there will
be three or four that are always checked.
On that dialog listing the references is a button that allows you to add new
ones that are not in the list by "browsing" to the file. Using that method you
can create a reference to another Access file. Once done any public methods
that exist in the referenced file can now be used in the referencing file.