Results 1 to 11 of 11
  1. #1
    kattatonic1 is offline Advanced Beginner
    Windows 7 32bit Access 2010 32bit
    Join Date
    Jul 2013
    Location
    Toronto, Canada
    Posts
    77

    Unhappy Object Dependencies does not work

    I will be upgrading a database built by someone else. Object Dependencies doesn't seem to be working. Is there a way to turn it on/ off? I click on a table or open a table (or query or form) and click the [Object Dependencies] button. Faster than a speeding bullet, the progress bar shows in the bottom-right corner of the screen. It took me about 10 tries to get the screen capture because it goes so fast. Then nothing comes of it. The Object Dependencies pane does not show and I get no error message. Does anyone have an idea?
    Click image for larger version. 

Name:	object dependencies progress bar.jpg 
Views:	23 
Size:	9.1 KB 
ID:	16909



    Thanks for any ideas,

    Kay from Toronto
    on the perfect spring day
    what are we doing indoors programming? :-D

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,929
    No idea. Never used it before so just tested on a small db. Worked perfectly.

    Did you test with a new db?
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    kattatonic1 is offline Advanced Beginner
    Windows 7 32bit Access 2010 32bit
    Join Date
    Jul 2013
    Location
    Toronto, Canada
    Posts
    77
    Thanks, June7.

    It works with my other databases. I just quickly created a new db in case your idea gives me a clue. It works for it too. So its non-appearance seems to be specific to the db I'll be working on. (Rats!)

    Wondering if anyone else has any ideas on this fine Monday?

    Kay
    from Toronto,
    whose sun is shine regardless of how many of us are holed up in cubicles

  4. #4
    ItsMe's Avatar
    ItsMe is offline Sometimes Helpful
    Windows 7 64bit Access 2010 32bit
    Join Date
    Aug 2013
    Posts
    7,862
    I use it (sometimes) and never had a problem like that. I am guessing that you are testing it with an object that depends on another object, e.g. a Query. Make sure you choosing "Objects I depend on" and Objects that depend on me" where appropriate. Not all objects have a dependency or may only have one type of dependency.

    If it still does not function I would create a new DB and Import the objects over to the new DB.

  5. #5
    hapm is offline Competent Performer
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2014
    Posts
    197
    The object dependecy tree gets its information from the name auto correction feature of access. You can enable/disable it from the settings screen of the current database, as it is a per database setting. Disableing it will remove all the dependency information and reenable it will rebuild the complete dependency tree (can take a while according to the database size). Perhaps it helps to disable it and reenable it to force a dependency tree rebuild.

  6. #6
    ItsMe's Avatar
    ItsMe is offline Sometimes Helpful
    Windows 7 64bit Access 2010 32bit
    Join Date
    Aug 2013
    Posts
    7,862
    That's interesting. Did not know that.

  7. #7
    kattatonic1 is offline Advanced Beginner
    Windows 7 32bit Access 2010 32bit
    Join Date
    Jul 2013
    Location
    Toronto, Canada
    Posts
    77
    hapm - thank you. Resetting name auto correction appeared as though it was going to work! There were messages that it was rebuilding, progress bars ran, all the good stuff I'd want. Then afterwards, zilch, zippo. The Object Dependency Pane still won't appear in that db. I tried setting back and forth a few times, and with the obligatory close and reopen in between each. Nada. Hmm and rats.

    ItsMe - thank you. That was a great idea that I should have thought of. So I did it and Bah Humbug... I get a pile of VB error messages that I was not getting in the original version if I try to do anything. HOWEVER, the Object Dependencies feature works in that copy. So I saved it, not to work in it, but just as a reference when I want to explore dependencies. Bit of a hassle.

    I am still open to any other ideas that anyone comes up with.

    Kay
    from Toronto,
    and in gratitude xo

  8. #8
    ItsMe's Avatar
    ItsMe is offline Sometimes Helpful
    Windows 7 64bit Access 2010 32bit
    Join Date
    Aug 2013
    Posts
    7,862
    Error messages are probably because of missing references. But, as hapm described, there is a setting that you found to fix the original issue. You may not need to import. However, It may not be a bad idea to import over the objects to a new DB at some point during the development process to ensure things are tidy.

  9. #9
    kattatonic1 is offline Advanced Beginner
    Windows 7 32bit Access 2010 32bit
    Join Date
    Jul 2013
    Location
    Toronto, Canada
    Posts
    77
    Hi ItsMe, what do you mean by missing references?

  10. #10
    ItsMe's Avatar
    ItsMe is offline Sometimes Helpful
    Windows 7 64bit Access 2010 32bit
    Join Date
    Aug 2013
    Posts
    7,862
    In the VBA editor you can go to Tools>References and look at the References Window. I misspoke when I said "Missing". Missing is when you take an existing DB to a new computer and an existing reference is not possible because the new computer does not have the DLL or library referenced.

    When you create a new DB, you need to make a reference for VBA that depends on libraries/references not included by default. Write VBA that automates Outlook???? Make sure to include the Outlook reference....

    If you are going to import all of the objects to a new DB, you need to use the References Window to tick libraries that may be used by VBA you will import.

  11. #11
    hapm is offline Competent Performer
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2014
    Posts
    197
    Setting up a new database (with library references of course) will be the easiest and fastest way to go here. Only thing I could think of now, is that the dependency window is somehow misplaced or sized, perhaps undocked and got behind the access window or other misplacement. I'm not certain about this, but AFAIK there are functions to activate the window by code. If you want to further investigate the problem, I will look it up when I'm back on a desktop.

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

Similar Threads

  1. Form Dependencies
    By dpscott in forum Access
    Replies: 3
    Last Post: 06-18-2014, 10:10 AM
  2. Object dependencies
    By Rob S in forum Access
    Replies: 4
    Last Post: 08-03-2012, 04:00 PM
  3. Form Dependencies
    By Juan4412 in forum Forms
    Replies: 15
    Last Post: 06-20-2011, 06:40 PM
  4. Output Object Dependencies
    By Tigger in forum Database Design
    Replies: 3
    Last Post: 04-28-2011, 08:18 AM
  5. Can't eliminate Object Dependencies
    By skahle89 in forum Access
    Replies: 1
    Last Post: 12-02-2010, 11:21 AM

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