Hi! Yes, there is a way. Create a new database, then create one or
more new Modules in the new database. Put into the module(s) all your
common functions etc. You're done! When you want to use the
functions from another database--which I'll call the client database--
you go into the code editor for a module in the client database and
select Tools - References. Select a the file type of "Access Database
(.mdb)" and select your library database. Voila. . . all your
functions are visible in the client code. (Be sure your functions are
defined as Public, the default setting).
Yup, but there are issues.
1) You can't create an MDE which references an MDB. The reference
must be changed to use an MDE.
2) If you make changes to the referenced MDE you must also
redistribute the "main" FE MDE as well.
3) If while programming and you are referncing an MDB you can make
changes to the refenced MDB code they will be immediately lost when
you exit the referenced MDB. They will not be saved. This makes
debugging problems a bit trickier. Yes, I found this out the hard
way. <smile>
There are likely a few more things I've forgotten but they'll be on my
web page in my other posting.
Tony