Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Table relationships

Table relationships

Table relationships

I inherited a database project that was authored by a co-worker when he left. I know the few key tables it depends on but it is polluted with a bunch of other tables/queries that may or may not be depended upon by the existing vital tables/queries needed to generate the report this project generates.

I am wondering if anyone knows of a way to have a report run on the project to provide information on all tables, when they were last accessed, what depends on them, etc. as a way to help me determine if I can delete some stuff from this project. The project itself is fairly 800MB so i'm trying to trim it down in size.

RE: Table relationships

Hey PHV, good point on the link you provided! I wish I had seen that 6+ years ago to save me some work! I contacted the author (John Barnett) and tested in Access-2010 for him. He said he doesn't do much Access development nowdays, but left that article up in hopes of helping interested parties.

Dingleberry, I think I know what you really want is something that will inventory every object (maybe including field names) and then you can see things like:
1. Table1.Field1 is not referenced anywhere (form ctrl, code, sql, etc.) (or it is used in FormB, Listbox2; or used in Query1)
2. No references to Tablex anywhere.
3. QueryXYZ is not used (or it is used in FormA as the recordsource)

Years ago I also inherited a 'beast' and was tasked with improving performance (every millisecond counted) so I decided to create code to build a bunch of tables to serve as a 'data dictionary'. Then searched for references of the objects. If you want to remove all the data and send me the empty database, I can try and get the dust off my old project. I think everything was working with the exception of dealing with queries that were nested more than ___ levels deep (yep, my favorite was the one query that was nested 8 layers deep -- but didn't need to be).
Good Luck,

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close