[AccessD] Accessing a module outside of the database

Heenan, Lambert Lambert.Heenan at AIG.com
Wed Sep 3 14:23:47 CDT 2003


Sure, all you need to do is set a reference to the other database.

In the database that want to use the "outside modules" just open an y code
module and on the Tools menu select "references". Click the add button and
browse to where your MDB/MDB "outside" database is located - you'll need to
change the "File Type" combo on the file dialog.

You will then be able to use all the public subs and functions in the other
database's standard modules. Class modules need a bit more work.

One note, it you are going to compile to an MDE, the linked  "library"
database must also be an MDE file.

Lambert

> -----Original Message-----
> From:	Lonnie Johnson [SMTP:prodevmg at yahoo.com]
> Sent:	Wednesday, September 03, 2003 3:13 PM
> To:	'MS-ACCESS-L at lists.missouri.edu'; AccessDevelopers; ms_access;
> AccessD solving'
> Subject:	[AccessD] Accessing a module outside of the database
> 
> I've never seen this but thought I'd ask. Is there anyway to access a
> module outside of a database? Can I have a database of functions or
> procedures and call them from other databases? 	
> 
> 
> 
> Lonnie Johnson
> ProDev, Professional Development of MS Access Databases
> Visit me at ==> <http://www.prodev.us/>
> 
> 
> 
>  <http://www.galaxymall.com/software/PRODEV>
>  
> 
>   _____  
> 
> Do you Yahoo!?
> Yahoo! SiteBuilder
> <http://us.rd.yahoo.com/evt=10469/*http://sitebuilder.yahoo.com> - Free,
> easy-to-use web site design software << File: ATT6886628.txt >> 


More information about the AccessD mailing list