Laurel said:
How can I make vb code (a module) available to multiple databases?
You can compile your code into a mde. Once you do this, then you can use
tools->references to add a reference to the mde. Now, all code from that mde
can be used. So, you can in effect do this. The advantages are many, since
if you update the mde, then all of your existing programs that use this
library code are have the "new" code instantly available.
However, if you mode the location of the mde file, then your applcation(s)
will now break.
Broken refs are a source of much pain for developers. So, right now, I do
NOT use mde library files yet, and simply just import the ocde. it certainly
makes maintenance a bit harder..but you do get more reliability...and more
ease of distribution when you advoied "extra" references.