How to view the code in an Access 2007 developed application

Hello All,

I am trying to migrate an office Access developed application to a different folder in another server.

The application its comprised by 2 files, one is called Interface and the other is called DATA.

When I first migrated it, I copied the 2 files over to the new server, but when I open the Interface file its seems that its still pointing to the DATA file in the old server location, I can see this in the time stamp reflected on the file. I am trying to see if I can find this link in order to edit it and point it to the new location but my knowledge in Access is very limited.

This application was developed by the previous manager but he did not make or leave any documentation.

Any hints on how to find and edit this link will be greatly appreciated!
Who is Participating?
Rey Obrero (Capricorn1)Connect With a Mentor Commented:
in the interface version,
right click in any of the tables and select Linked Table Manager
in the Linked Table Manager window
* check the box for Always prompt for new location
* click on Select All button
* click OK

in the dialog that will open, navigate to the folder where the DATA db is and select the the DATA db.
LuiLui77Author Commented:
Thanks Rey!
I was able to Link the interface to the new DATA file location!

Also Rey, there are certain buttons on the interface that I want to discover what is it that they do. For instance I know that there is a button that generates a report and I want to see what happens behind the scene when the user clicks on that button (i.e. what table they query and what calculations it does).

How can I see this?
Rey Obrero (Capricorn1)Connect With a Mentor Commented:
open the form in design view
select the button, then hit F4
in the property window of the button, select the Event tab
look for the On Click  event ,
if you see [Event Procedure],
     * click the (...) on the right end of the click event, this will open the VBE window and you will see the codes behind the click event of the button

if you see [Embedded Macro]
    * click the (...) on the right end of the click event, this will open the Macro assigned to the button
Get 10% Off Your First Squarespace Website

Ready to showcase your work, publish content or promote your business online? With Squarespace’s award-winning templates and 24/7 customer service, getting started is simple. Head to and use offer code ‘EXPERTS’ to get 10% off your first purchase.

LuiLui77Author Commented:

What I see is HandleButtonclick(1) on the field, this might be a customize event or something. If I click on the dropdown button I can see some other events with some key names. how can I check on the events design?
Rey Obrero (Capricorn1)Commented:
ok, what you are seeing is a switchboard type of form, this is a complex situation for a beginner.
you need somebody who has advanced knowledge of access and vba to handle this.
LuiLui77Author Commented:
I guess you are right. I got  what I wanted though. Thanks for everything!
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.