Solved

uncover hidden objects

Posted on 2015-02-12
2
167 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 58

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

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

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

In earlier versions of Windows (XP and before), you could drag a database to the taskbar, where it would appear as a taskbar icon to open that database.  This article shows how to recreate this functionality in Windows 7 through 10.
Access custom database properties are useful for storing miscellaneous bits of information in a format that persists through database closing and reopening.  This article shows how to create and use them.
What’s inside an Access Desktop Database. Will look at the basic interface, Navigation Pane (Database Container), Tables, Queries, Forms, Report, Macro’s, and VBA code.
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

630 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