M
Mark
Hi -
I have two Access databases (DB1 and DB2). DB2 has VB classes and tables
that I'd like to use in DB1. How can I share Classes across databases?
I tried instantiating DB2 from DB1.
Dim accDB2 as Access.Application
set accDB2 = CreateObject("Access.Application")
accDB2.ApplicationOpenDatabase "C:\DB2.mdb", false
but when I instantiate the class (in DB2) an error occurs:
Dim cList as clsList
set cList = new clsList
Error => "User defined type not defined"
Any suggests?
Thank you, Mark
I have two Access databases (DB1 and DB2). DB2 has VB classes and tables
that I'd like to use in DB1. How can I share Classes across databases?
I tried instantiating DB2 from DB1.
Dim accDB2 as Access.Application
set accDB2 = CreateObject("Access.Application")
accDB2.ApplicationOpenDatabase "C:\DB2.mdb", false
but when I instantiate the class (in DB2) an error occurs:
Dim cList as clsList
set cList = new clsList
Error => "User defined type not defined"
Any suggests?
Thank you, Mark