Results 1 to 2 of 2
  1. #1
    Bat Dude is offline Novice
    Windows 7 64bit Access 2010 32bit
    Join Date
    Jul 2017
    Posts
    9

    How to determine what tbls are linked to queries

    Hi all,

    I have a long evolving Access DB that I need to clean up. I have added multitudes of queries and tables over the past year or so and need to create a "clean copy" with only the forms and queries and tbls and remove all those not interlinked.

    The programmer who assisted me eons ago is not available. A lot of frms are linked to VBA code and queries so I do not want to simply start deleting tbls or qrys w/o verifying they are not linked to the function of the entire DB.



    Is there a way to do this?

    Cheers,
    Bst Dude

  2. #2
    isladogs's Avatar
    isladogs is offline Access MVP / VIP
    Windows 10 Access 2010 32bit
    Join Date
    Jan 2014
    Location
    Somerset, UK
    Posts
    6,204
    Several ways
    1. Use the built in Object Dependencies feature in the Database Tools ribbon
    This will allow you to check database objects like forms, reports and queries.
    However it will not check vba code

    2. Obtain an addin such as V-Tools (free) or MZ Tools (not free but well worth the cost)
    These will allow you to check code as well.

    Don't forget to check row sources of listboxes and combos etc

    Having said that, the safest way is often to rename items by prefixing with e.g X and see if the db fails to compile or anything stops working
    If not, it should be safe to delete
    Colin Riddington, Access MVP, Website, email
    The more I learn, the more I know I don't know. When I know I don't know, I keep quiet!

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Queries with Linked Tables
    By sshivji in forum Queries
    Replies: 4
    Last Post: 02-02-2017, 08:28 PM
  2. Replies: 9
    Last Post: 05-16-2016, 01:46 PM
  3. Writing queries on linked table
    By Asifiqbalp in forum Access
    Replies: 2
    Last Post: 06-06-2015, 01:00 AM
  4. Replies: 3
    Last Post: 10-24-2012, 05:41 PM
  5. Issue with joining 2-tbls
    By djclntn in forum Queries
    Replies: 1
    Last Post: 12-14-2011, 01:42 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums