Solved

uncover hidden objects

Posted on 2015-02-12
2
154 Views
Last Modified: 2016-02-11
I have inherited several old MS Access databases (.mdb) and am in the process of converting them to .accdb.  In addition, I am organizing the databases and extract 'common data' and moving them to a single database that will be linked to the other databases.  This will allow us to keep data current and limit who has access to updating the data.

In the process of creating the new .accdb database -- and copying all of the object in from the .mdb version - I noticed that there was a module and form that were brought over that were not visible in the old .mdb database.  I tried re-compiling the module in the new .accdb - and I get an error msg (see attached) indicating 'User-defined type not defined'.  When I go back to the old .mdb database, I don't even see this module listed and the form is open in design mode.  There is no documentation for the old .mdb database - so I am trying to determine what this 'hidden' module is doing.

Any ideas how to find this module in the old .mdb database?  Any ideas on how to determine what it is doing?

Could there be an external executable that calls this module?

Thanks for the help,
je
C---MS-Access-Database-Consolidation-Err
0
Comment
Question by:Jeanne Elmuccio
2 Comments
 
LVL 57

Accepted Solution

by:
Jim Dettman (Microsoft MVP/ EE MVE) earned 500 total points
Comment Utility
I can't open your attachment because I don't know what it is.

 As for the error, you'll need not only the code, but the References as well.

 In the old DB, open VBA and look at tools/references.  Those will need to be either:

1. Duplicated in the new DB
2. Replaced with a later version.
3. The code in question that uses the reference be replaced with something else.
4. The code in question that uses the reference be discarded if no longer needed.

Jim.
0
 

Author Comment

by:Jeanne Elmuccio
Comment Utility
It seems to work fine even when the code is not compiled.  I tried creating a fake module in the old .mdb database to look at the references -- and got the same compile error.  So I think I'll just leave it as is for now.

Thanks for pointing me to the references.
je
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

In the previous article, Using a Critera Form to Filter Records (http://www.experts-exchange.com/A_6069.html), the form was basically a data container storing user input, which queries and other database objects could read. The form had to remain op…
Regardless of which version on MS Access you are using, one of the harder data-entry forms to create is one where most data from previous entries needs to be appended to new records, especially when there are numerous fields and records involved.  W…
Learn how to number pages in an Access report over each group. Activate two pass printing by referencing the pages property: Add code to the Page Footers OnFormat event to capture the pages as there occur for each group. Use the pages property to …
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now