I need to run a function from another database file I have, the function returns a value. What would be the code that wuld reference the file/module/function? Thank you
mygmat ... I understand what you are trying to do, however I don't beleive this is possible (kind of like using the function as you would from a DLL..)
What I'd suggest doing is important the function required into your db, and linking the data you need to run the function against. This way the objects are run locally.
I really wanted to prevent doing that. But if that's the only way, I'll have to. Though I thought I remember learning that you could, and I just did not remember how.
You can reference other databases through the Tools/References menu, Click on Browse then change 'Files of Type' to MDB. You can then browse to your access database and use any of the public functions.
HTH
Peter
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.