Solved

Access 2013: New Objects Not Showing in the Navigation Pane

Posted on 2014-11-13
5
949 Views
Last Modified: 2014-11-17
Running Access 2013 [32-bit] on Windows 8.1 [62-bit], why do I have to run "Compact/Repair" before I can see a new or "Saved As" object (like a table or query) immediately in the Navigation Pane?  Is there a setting I can tweak to change this?
0
Comment
Question by:rwoosley
5 Comments
 
LVL 10

Expert Comment

by:Gozreh
Comment Utility
Did you try to repair the Office installation ?
0
 

Author Comment

by:rwoosley
Comment Utility
Hmmmmmmm...nope, haven't tried that yet.  Kinda leaving that for the last resort but you're saying just uninstall and reinstall?
0
 
LVL 23

Accepted Solution

by:
Eirman earned 500 total points
Comment Utility
There is never any harm in doing a repair of office.
An uninstall/erinstall would be too drastic at this time.

If access is asking for a database to be compacted and repaired, just do it.
If access demands it of every database, something is amiss!
====================================================================
As well as compacting & repairing a database you must periodically decompile it.
(especially if there is a lot of code being developed/added/removed etc.)


METHOD 1
RUN: msaccess.exe /decompile "C:\Your Path To\YourDBName.mdb"
==========================================================
METHOD 2 (Easier)
RUN: msaccess.exe /decompile
Open your database within the Access session that is started.
The first database opened in a session started with the /decompile option is automatically decompiled.

After METHOD 1 or 2 above

Compact and Repair your database.

Close the database.

Open the database again, press Alt+F11 to switch to the VB Editor,
and click Debug -> Compile (your project).

If any errors appear, fix them and recompile.
Close the VB Editor.

Compact & Repair again.
0
 
LVL 34

Expert Comment

by:PatHartman
Comment Utility
You can refresh the collections with code

    Dim db As DAO.Database
    Set db = CurrentDb()
    db.QueryDefs.Refresh
    db.TableDefs.Refresh

Open in new window

0
 

Author Closing Comment

by:rwoosley
Comment Utility
Thanks to everyone for all of their suggestions.  I went back in this morning and was alerted to updates that were being integrated during startup.  I then initiated Access and it is now showing new and renamed copies of objects in the Navigation window immediately after saving them WITHOUT having to compact and repair.  I suspect the pending updates were causing the anomaly when I tried doing the same thing on Thursday.  I don't like the way Windows 8 is handling system updates (at least the way it is currently set up) and I'm going to do a little tweaking in that regard next.

I chose Eirman's solution because it gave me information I hadn't seen before that related to my issue and I plan on adding it to my "bag of tricks" for future reference.

Thanks again all!
Roscoe
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

In Debugging – Part 1, you learned the basics of the debugging process. You learned how to avoid bugs, as well as how to utilize the Immediate window in the debugging process. This article takes things to the next level by showing you how you can us…
Overview: This article:       (a) explains one principle method to cross-reference invoice items in Quickbooks®       (b) explores the reasons one might need to cross-reference invoice items       (c) provides a sample process for creating a M…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
In Microsoft Access, when working with VBA, learn some techniques for writing readable and easily maintained code.

771 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now