FancyPrairie
Programmer
I'm using Access 2010. I have 2 databases: 1) Library.accdb 2)MyDb.accdb. I set a reference to Library.accdb from within MyDb.accdb. Everything works fine (almost). From MyDb.accdb I can open forms and execute functions that reside in Library.accdb.
My problem is that within a form in MyDb.accdb I use the value CodeProject.Name with should give me the value "Library.accdb". However, it's returning the value of "MyDb.accdb". I have verified this in debug. I have decompiled both databases and compacted and repaired them. Option Explicit is set and both compile with no errors.
Anybody have any idea as to why this is happening?
My problem is that within a form in MyDb.accdb I use the value CodeProject.Name with should give me the value "Library.accdb". However, it's returning the value of "MyDb.accdb". I have verified this in debug. I have decompiled both databases and compacted and repaired them. Option Explicit is set and both compile with no errors.
Anybody have any idea as to why this is happening?