ExternalDbAsLibraryRef
(Updated on: 12-Oct-2010)
Explanatory Notes
Two alternative
styles for opening a form belonging to external db and loading it with data
from host db are also demonstrated. In one case, the task is accomplished
without using IN clause, while the other makes use of IN clause.
In local db, correct library reference (named "External") to external db is set up programmatically during load event of main switchboard. This is based upon external db
(External.mdb) being housed in the same folder that contains the local db. If there is any change in this set up, function Fn_ExternalDbPath() in general module of local db, used for getting the path of external db, will need suitable revision.
Note:
(a) In local db's module, name of library reference to
external db has to be used as qualifier for calling subroutines or functions belonging to external db.
(b) Within the module of external db (when serving as
library reference), CodeDb and CodeProject represent external db while CurrentDb and
CurrentProject represent the host db.
Version: Access
2000 file format.
References:
External Db - DAO 3.6
Local Db - Nothing extra