Solved

uncover hidden objects

Posted on 2015-02-12
2
159 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
ID: 40606086
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
ID: 40606280
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

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When you are entering numbers in a speadsheet, and don't remember what 6×7 is, you just type “=6*7" instead. It works in every cell! This is not so in Access. To enter the elusive 42 in a text box, you have to find a calculator, and then copy the re…
I see at least one EE question a week that pertains to using temporary tables in MS Access.  But surprisingly, I was unable to find a single article devoted solely to this topic. I don’t intend to describe all of the uses of temporary tables in t…
In Microsoft Access, learn different ways of passing a string value within a string argument. Also learn what a “Type Mis-match” error is about.
With Microsoft Access, learn how to specify relationships between tables and set various options on the relationship. Add the tables: Create the relationship: Decide if you’re going to set referential integrity: Decide if you want cascade upda…

777 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