M
Mark
Alex -
Upon further review...
I was able to set the reference to DB2 from DB1.
The Explorer window shows DB2 project and there it shows up under
"References" as a "Reference to DB2.mdb" in the DB1project also in the
Explorer window.
So that looks great. By all indications the reference is set.
However, when I go to dim a class or module from DB2 they don't show up in
DB1.
So:
dim obj as DB2.myclass
set obj = new DB2.myclass
It gives me a "User Defined type not defined" error.
FYI, I tried setting a reference to the Northwind - which was successful.
The "Northwind" reference shows up in the object window. DB2 does not.
I'm using Access 2002, if that makes a difference.
Any suggestions?
Thanks again, Mark
Upon further review...
I was able to set the reference to DB2 from DB1.
The Explorer window shows DB2 project and there it shows up under
"References" as a "Reference to DB2.mdb" in the DB1project also in the
Explorer window.
So that looks great. By all indications the reference is set.
However, when I go to dim a class or module from DB2 they don't show up in
DB1.
So:
dim obj as DB2.myclass
set obj = new DB2.myclass
It gives me a "User Defined type not defined" error.
FYI, I tried setting a reference to the Northwind - which was successful.
The "Northwind" reference shows up in the object window. DB2 does not.
I'm using Access 2002, if that makes a difference.
Any suggestions?
Thanks again, Mark