Solved

How to find a missing index on a table

Posted on 2013-06-28
5
388 Views
Last Modified: 2013-07-11
During compacting a database, I got and error message stating that an index is missing.  How do I find that missing index?  This is not a database I created, I am totally new to this database.

Thanks,

K
0
Comment
Question by:Karen Schaefer
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 77

Expert Comment

by:peter57r
ID: 39284991
I am only guessing here.  I have never seen this message in an Access app and I can't imagine how it could arise with an Access table.

So are you linking to any non-Access data sources? That would be my suspicion.
0
 

Author Comment

by:Karen Schaefer
ID: 39285016
yes this is a mix medium database - ODBC, SQL pass thrus, etc.

K
0
 
LVL 77

Expert Comment

by:peter57r
ID: 39285049
I don't really know how to sort this out but my first attempt would be to use the Linked Table Manager and force a re-linkage of all external tables.
0
 
LVL 74

Accepted Solution

by:
Jeffrey Coachman earned 500 total points
ID: 39285374
From my one experience with this error here, ...the missing "Index" Access complains about in the error messages may have nothing to do with an actual "Index" on a field in a table you created.

The Index it is referring to may be an Index on a system table or some other aspect of the database file.

This is typically the result of some type of corruption.

*Make a backup" of the database file first*

Then try these basic fixes:
1. Open your VBA editor and compile your code (Debug-->Compile)
2. Create a new database file and import all of the objects from the questionable file into it.
Now try running the compact repair utility

OR...
3. Decompile the database (http://www.fmsinc.com/MicrosoftAccess/Performance/Decompile.asp)
Then try running the compact/repair utility

Hope this helps...

JeffCoachman
0
 

Author Closing Comment

by:Karen Schaefer
ID: 39317922
thanks
0

Featured Post

MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It’s the first day of March, the weather is starting to warm up and the excitement of the upcoming St. Patrick’s Day holiday can be felt throughout the world.
Microsoft Access is a place to store data within tables and represent this stored data using multiple database objects such as in form of macros, forms, reports, etc. After a MS Access database is created there is need to improve the performance and…
In Microsoft Access, learn different ways of passing a string value within a string argument. Also learn what a “Type Mis-match” error is about.
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

688 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